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_GridComp)::comptype(ESMF_State)::importState,exportStatetype(ESMF_Clock)::clockinteger,intent(out)::rc! ! Local variablestype(ESMF_Field)::humidityinteger(ESMF_KIND_I4),dimension(:),pointer::fptrinteger::exlb(1),exub(1),irc=ESMF_SUCCESSprint*,"User Comp Run starting"! Get information from the component.call ESMF_StateGet(importState,"humidity",humidity,rc=rc)if(rc/=ESMF_SUCCESS)return call ESMF_FieldGet(humidity,localDe=0,farrayPtr=fptr,&exclusiveLBound=exlb,exclusiveUBound=exub,rc=rc)if(rc/=ESMF_SUCCESS)return! Verify that the smm data in dstField(l) is correct.! Before the smm op, the dst Field contains all 0. ! The smm op reset the values to the index value, verify this is the case.!write(*, '(9I3)') l, lpe, fptrdo i=exlb(1),exub(1)if(fptr(i).ne.i*i)rc=ESMF_FAILUREenddo print*,"User Comp Run returning"end subroutine user_run