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 user_init(comp,importState,exportState,clock,rc)type(ESMF_CplComp)::comptype(ESMF_State)::importState,exportStatetype(ESMF_Clock)::clockinteger::rc! Local variablesinteger::itemcounttype(ESMF_Field)::humidity1,humidity2type(ESMF_VM)::vmprint*,"User Coupler Init starting"call ESMF_StateGet(importState,itemcount=itemcount,rc=rc)print*,"Import State contains ",itemcount," items."! Get input datacall ESMF_StateGetField(importState,"humidity",humidity1,rc=rc)! call ESMF_FieldPrint(humidity1, rc=rc)! Get location of output datacall ESMF_StateGetField(exportState,"humidity",humidity2,rc=rc)! call ESMF_FieldPrint(humidity2, rc=rc)! Get VM from coupler componentcall ESMF_CplCompGet(comp,vm=vm,rc=rc)! These are fields on different IGrids - call RegridStore to set! up the precomputed Regrid communication calls.call ESMF_FieldRegridStore(humidity1,humidity2,vm,&routehandle,®ridmethod=ESMF_REGRIDMETHOD_BILINEAR,&rc=rc)print*,"User Coupler Init returning"rc=ESMF_SUCCESSend subroutine user_init