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 ESMF_VMGetCurrentID(vmId,rc)!! !ARGUMENTS:type(ESMF_VMId),intent(out)::vmIdinteger,intent(out),optional::rc!! !DESCRIPTION:! Get the {\tt ESMF\_VMId} of the current execution context.!! The arguments are:! \begin{description}! \item[vmId] ! Upon return this holds the {\tt ESMF\_VMId} of the current context.! \item[{[rc]}] ! Return code; equals {\tt ESMF\_SUCCESS} if there are no errors.! \end{description}!!EOPI!------------------------------------------------------------------------------integer::localrc! local return code! initialize return code; assume routine not implementedlocalrc=ESMF_RC_NOT_IMPLif(present(rc))rc=ESMF_RC_NOT_IMPL! Call into the C++ interface.call c_ESMC_VMGetCurrentID(vmId,localrc)if(ESMF_LogFoundError(localrc,ESMF_ERR_PASSTHRU,&ESMF_CONTEXT,rcToReturn=rc))return! return successfullyif(present(rc))rc=ESMF_SUCCESSend subroutine ESMF_VMGetCurrentID