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_run(comp,importState,exportState,clock,rc)type(ESMF_CplComp)::comptype(ESMF_State)::importState,exportStatetype(ESMF_Clock)::clockinteger,intent(out)::rc! Local variablestype(ESMF_Field)::humidity1,humidity2rc=ESMF_SUCCESSprint*,"User Coupler Run starting"! Get input datacall ESMF_StateGet(importState,"humidity",humidity1,rc=rc)if(rc/=ESMF_SUCCESS)return! call ESMF_FieldPrint(humidity1, rc=rc)! Get location of output datacall ESMF_StateGet(exportState,"humidity",humidity2,rc=rc)if(rc/=ESMF_SUCCESS)return! call ESMF_FieldPrint(humidity2, rc=rc)! Call ESMF_FieldRegrid() to move data from src locstream to destination locstreamcall ESMF_FieldRegrid(humidity1,humidity2,routehandle,rc=rc)if(rc/=ESMF_SUCCESS)return! Data is moved directly to the field in the output state, so no! "put" is needed here.print*,"User Coupler Run returning"end subroutine user_run