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 variablesinteger::status=ESMF_SUCCESStype(ESMF_Field)::sorted_data1,sorted_data2print*,"User Coupler Run starting"! query data from Statescall ESMF_StateGet(importState,"sorted_data1",sorted_data1,rc=status)if(ESMF_LogFoundError(status,ESMF_ERR_PASSTHRU,&ESMF_CONTEXT,rcToReturn=rc))return call ESMF_StateGet(exportState,"sorted_data2",sorted_data2,rc=status)if(ESMF_LogFoundError(status,ESMF_ERR_PASSTHRU,&ESMF_CONTEXT,rcToReturn=rc))return! preform data redistribution! deliver sorted result from component 1 to component 2! component 2 will verify component 1 resultcall ESMF_FieldRedist(srcField=sorted_data1,dstField=sorted_data2,&routehandle=redistRH12,checkflag=.true.,rc=status)if(ESMF_LogFoundError(status,ESMF_ERR_PASSTHRU,&ESMF_CONTEXT,rcToReturn=rc))returnrc=statusend subroutine user_run