Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Source Code
subroutine test_reset_gridset(this)class(ESMF_TestMethod),intent(inout)::thistype(ESMF_Field)::fieldtype(ESMF_Geom)::geomtype(ESMF_Grid)::gridcharacter(*),parameter::EXPECTED_UNITS='km'integer::statustype(ESMF_FieldStatus_Flag)::field_statustype(ESMF_TypeKind_Flag)::typekindgrid=ESMF_GridCreateNoPeriDim(maxIndex=[4,4],_RC)geom=ESMF_GeomCreate(grid,_RC)field=MAPL_FieldCreate(geom,typekind=ESMF_TYPEKIND_R4,units=EXPECTED_UNITS,_RC)call MAPL_FieldReset(field,new_status=ESMF_FIELDSTATUS_GRIDSET,_RC)call ESMF_FieldGet(field,status=field_status,_RC)@assert_that(field_status==ESMF_FIELDSTATUS_GRIDSET,is(true()))! Can we complete the field now?call MAPL_FieldEmptyComplete(field,typekind=ESMF_TYPEKIND_R8,_RC)call ESMF_FieldGet(field,status=field_status,typekind=typekind,_RC)@assert_that(field_status==ESMF_FIELDSTATUS_COMPLETE,is(true()))@assert_that(typekind==ESMF_TYPEKIND_R8,is(true()))call ESMF_FieldDestroy(field,_RC)call ESMF_GridDestroy(grid,_RC)call ESMF_GeomDestroy(geom,_RC)_UNUSED_DUMMY(this)end subroutine test_reset_gridset