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_same_geom(this)class(ESMF_TestMethod),intent(inout)::thisinteger::statustype(Fieldbundledelta)::deltatype(ESMF_Geom)::geom,tmp_geomtype(ESMF_FieldBundle)::bundleinteger::itype(ESMF_Field),allocatable::fieldList(:)real(kind=ESMF_KIND_R4),pointer::x_r4(:,:)character(:),allocatable::new_unitscall setup_geom(geom,4)call setup_bundle(bundle,weights=DEFAULT_WEIGHTS,geom=geom,typekind=ESMF_TYPEKIND_R4,units='km')delta=FieldBundleDelta(FieldDelta(geom))! same geomcall delta%update_bundle(bundle,_RC)! should not reallocate fieldscall MAPL_FieldBundleGet(bundle,fieldList=fieldList,_RC)@assert_that(size(fieldList),is(FIELD_COUNT))do i=1,FIELD_COUNTcall ESMF_FieldGet(fieldList(i),fArrayPtr=x_r4,_RC)@assert_that(shape(x_r4),is(equal_to([4,4])))@assert_that(x_r4,every_item(is(FILL_VALUE)))call MAPL_FieldGet(fieldList(i),units=new_units,_RC)@assertEqual('km',new_units)call ESMF_FieldGet(fieldList(i),geom=tmp_geom,_RC)@assert_that(tmp_geom==geom,is(true()))end do call teardown_bundle(bundle)call teardown_geom(geom)_UNUSED_DUMMY(this)end subroutine test_same_geom