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_VM)::vminteger::myPet! for testing updatetype(ESMF_Array)::arrayinteger,dimension(3)::rootListcharacter(ESMF_MAXSTR)::conv,purp! Initialize return coderc=ESMF_SUCCESS! Determine petCountcall ESMF_CplCompGet(comp,vm=vm,rc=rc)if(rc/=ESMF_SUCCESS)return! bail outcall ESMF_VMGet(vm,localPet=myPet,rc=rc)if(rc/=ESMF_SUCCESS)return! bail out! Get the import and export Statescall ESMF_StateGet(importState,rc=rc)if(rc/=ESMF_SUCCESS)return! bail outcall ESMF_StateGet(exportState,rc=rc)if(rc/=ESMF_SUCCESS)return! bail outrootList=(/0,1,2/)call ESMF_AttributeUpdate(importState,vm,rootList=rootList,rc=rc)if(rc/=ESMF_SUCCESS)return! bail out! copy all Attribute information into export Statecall ESMF_AttributeCopy(importState,exportState,rc=rc)if(rc/=ESMF_SUCCESS)return! bail outend subroutine user_run