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_final(comp,importState,exportState,clock,rc)type(ESMF_GridComp)::comptype(ESMF_State)::importState,exportStatetype(ESMF_Clock)::clockinteger,intent(out)::rc! Local variablestype(ESMF_VM)::vminteger::de_idtype(ESMF_Field)::fieldtype(ESMF_LocStream)::locsrc=ESMF_SUCCESScall ESMF_GridCompGet(comp,vm=vm,rc=rc)if(rc/=ESMF_SUCCESS)return call ESMF_VMGet(vm,localPet=de_id,rc=rc)if(rc/=ESMF_SUCCESS)return print*,de_id,"User Comp Final starting"! check validity of results! Get Fields from import statecall ESMF_StateGet(importState,"humidity",field,rc=rc)if(rc/=ESMF_SUCCESS)return call ESMF_FieldGet(field,locstream=locs,rc=rc)if(rc/=ESMF_SUCCESS)return call ESMF_FieldDestroy(field,rc=rc)if(rc/=ESMF_SUCCESS)return call ESMF_LocStreamDestroy(locs,rc=rc)if(rc/=ESMF_SUCCESS)return print*,de_id,"User Comp Final returning"end subroutine user_final