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.
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 ParseFileTypeArg(argName,fileTypeArg,fileType)! Parse a given file type argument, returning the appropriate file type constantcharacter(len=*),intent(in)::argName! name of the argument, just used for error messagescharacter(len=*),intent(in)::fileTypeArg! value of the file type argumenttype(ESMF_FileFormat_Flag),intent(out)::fileType! determined file type constantselect case(fileTypeArg)case('SCRIP')fileType=ESMF_FILEFORMAT_SCRIPcase('ESMFMESH')fileType=ESMF_FILEFORMAT_ESMFMESHcase('UGRID')fileType=ESMF_FILEFORMAT_UGRIDcase('CFGRID')fileType=ESMF_FILEFORMAT_CFGRIDcase('GRIDSPEC')fileType=ESMF_FILEFORMAT_GRIDSPECcase('MOSAIC')fileType=ESMF_FILEFORMAT_MOSAICcase('TILE')fileType=ESMF_FILEFORMAT_TILEcase defaultwrite(*,*)print*,"ERROR: Unknown ",trim(argName),": must be one of:"print*,"SCRIP, ESMFMESH, UGRID, CFGRID, GRIDSPEC, MOSAIC or TILE."print*,"Use the --help argument to see an explanation of usage."call ESMF_Finalize(endflag=ESMF_END_ABORT)end select end subroutine ParseFileTypeArg