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_CplComp)::comptype(ESMF_State)::importState,exportStatetype(ESMF_Clock)::clockinteger,intent(out)::rccharacter(len=ESMF_MAXSTR)::stateItemNames(4)integer::itemcount,itype(ESMF_Array)::array type(ESMF_Distgrid)::distgrid! Initialize return coderc=ESMF_SUCCESS! Get export state informationcall ESMF_StateGet(exportState,itemNameList=stateItemNames,itemcount=itemcount,rc=rc)if(rc/=ESMF_SUCCESS)return! bail out! Release resources stored for the ArrayRedist.do i=1,itemcountcall ESMF_ArrayRedistRelease(routehandle=rhandle(i),rc=rc)if(rc/=ESMF_SUCCESS)return! bail out! destroy array and distgrid in the export statecall ESMF_StateGet(exportState,stateItemNames(i),array,rc=rc)if(rc/=ESMF_SUCCESS)return! bail outcall ESMF_ArrayGet(array,distgrid=distgrid,rc=rc)if(rc/=ESMF_SUCCESS)return! bail outcall ESMF_ArrayDestroy(array,rc=rc)if(rc/=ESMF_SUCCESS)return! bail outcall ESMF_DistGridDestroy(distgrid,rc=rc)if(rc/=ESMF_SUCCESS)return! bail outend do end subroutine user_final