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
function to_esmf_state_intent(str_state_intent,rc)result(state_intent)type(ESMF_StateIntent_Flag)::state_intentcharacter(*),intent(in)::str_state_intentinteger,optional,intent(out)::rcselect case(str_state_intent)case('import')state_intent=ESMF_STATEINTENT_IMPORTcase('export')state_intent=ESMF_STATEINTENT_EXPORTcase('internal')state_intent=ESMF_STATEINTENT_INTERNALcase defaultstate_intent=ESMF_STATEINTENT_INVALID_FAIL('invalid state intent: '//str_state_intent)end select_RETURN(_SUCCESS)end function to_esmf_state_intent