ESMF_IO_YAMLCreate Function

public function ESMF_IO_YAMLCreate(keywordEnforcer, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_KeywordEnforcer), optional :: keywordEnforcer
integer, intent(out), optional :: rc

Return Value type(ESMF_IO_YAML)


Calls

proc~~esmf_io_yamlcreate~~CallsGraph proc~esmf_io_yamlcreate ESMF_IO_YAMLCreate c_esmc_io_yamlcreate c_esmc_io_yamlcreate proc~esmf_io_yamlcreate->c_esmc_io_yamlcreate proc~esmf_logfounderror ESMF_LogFoundError proc~esmf_io_yamlcreate->proc~esmf_logfounderror esmf_breakpoint esmf_breakpoint proc~esmf_logfounderror->esmf_breakpoint proc~esmf_logrc2msg ESMF_LogRc2Msg proc~esmf_logfounderror->proc~esmf_logrc2msg proc~esmf_logwrite ESMF_LogWrite proc~esmf_logfounderror->proc~esmf_logwrite c_esmc_loggeterrormsg c_esmc_loggeterrormsg proc~esmf_logrc2msg->c_esmc_loggeterrormsg c_esmc_vmwtime c_esmc_vmwtime proc~esmf_logwrite->c_esmc_vmwtime proc~esmf_logclose ESMF_LogClose proc~esmf_logwrite->proc~esmf_logclose proc~esmf_logflush ESMF_LogFlush proc~esmf_logwrite->proc~esmf_logflush proc~esmf_logopenfile ESMF_LogOpenFile proc~esmf_logwrite->proc~esmf_logopenfile proc~esmf_utiliounitflush ESMF_UtilIOUnitFlush proc~esmf_logwrite->proc~esmf_utiliounitflush proc~esmf_utilstring2array ESMF_UtilString2Array proc~esmf_logwrite->proc~esmf_utilstring2array proc~esmf_logclose->proc~esmf_logflush proc~esmf_logflush->proc~esmf_utiliounitflush proc~esmf_utilarray2string ESMF_UtilArray2String proc~esmf_logflush->proc~esmf_utilarray2string proc~esmf_logopenfile->proc~esmf_utiliounitflush proc~esmf_utiliounitget ESMF_UtilIOUnitGet proc~esmf_logopenfile->proc~esmf_utiliounitget

Called by

proc~~esmf_io_yamlcreate~~CalledByGraph proc~esmf_io_yamlcreate ESMF_IO_YAMLCreate proc~nuopc_freeformatcreatefdyaml NUOPC_FreeFormatCreateFDYAML proc~nuopc_freeformatcreatefdyaml->proc~esmf_io_yamlcreate program~esmf_io_yamlutest ESMF_IO_YAMLUTest program~esmf_io_yamlutest->proc~esmf_io_yamlcreate proc~nuopc_fielddictionarysetupfile NUOPC_FieldDictionarySetupFile proc~nuopc_fielddictionarysetupfile->proc~nuopc_freeformatcreatefdyaml interface~nuopc_fielddictionarysetup NUOPC_FieldDictionarySetup interface~nuopc_fielddictionarysetup->proc~nuopc_fielddictionarysetupfile proc~nuopc_fielddictionaryaddentry NUOPC_FieldDictionaryAddEntry proc~nuopc_fielddictionaryaddentry->interface~nuopc_fielddictionarysetup proc~nuopc_fielddictionaryegest NUOPC_FieldDictionaryEgest proc~nuopc_fielddictionaryegest->interface~nuopc_fielddictionarysetup proc~nuopc_fielddictionarygetentry NUOPC_FieldDictionaryGetEntry proc~nuopc_fielddictionarygetentry->interface~nuopc_fielddictionarysetup proc~nuopc_fielddictionaryhasentry NUOPC_FieldDictionaryHasEntry proc~nuopc_fielddictionaryhasentry->interface~nuopc_fielddictionarysetup proc~nuopc_fielddictionarymatchsyno NUOPC_FieldDictionaryMatchSyno proc~nuopc_fielddictionarymatchsyno->interface~nuopc_fielddictionarysetup proc~nuopc_fielddictionarysetsyno NUOPC_FieldDictionarySetSyno proc~nuopc_fielddictionarysetsyno->interface~nuopc_fielddictionarysetup proc~nuopc_initattributesfield NUOPC_InitAttributesField proc~nuopc_initattributesfield->interface~nuopc_fielddictionarysetup program~esmf_nuopc_utest ESMF_NUOPC_UTest program~esmf_nuopc_utest->interface~nuopc_fielddictionarysetup program~esmx_app ESMX_App program~esmx_app->interface~nuopc_fielddictionarysetup

Source Code

  function ESMF_IO_YAMLCreate(keywordEnforcer, rc)
!
! !RETURN VALUE:
    type(ESMF_IO_YAML) :: ESMF_IO_YAMLCreate

! !ARGUMENTS:
type(ESMF_KeywordEnforcer), optional :: keywordEnforcer ! must use keywords below
    integer,                intent(out), optional :: rc

! !DESCRIPTION:
!     Creates a new {\tt ESMF\_YAML\_IO} object.    
!
!     The arguments are:
!     \begin{description}
!     \item[{[rc]}]
!          Return code; equals {\tt ESMF\_SUCCESS} if there are no errors.
!     \end{description}
!     
!EOPI

    ! local return code
    integer :: localrc

!   ! Assume failure until success
    if (present(rc)) rc = ESMF_RC_NOT_IMPL

!   invoke C to C++ entry point to allocate and initialize new IO_YAML object
    call c_ESMC_IO_YAMLCreate(ESMF_IO_YAMLCreate, localrc)
    if (ESMF_LogFoundError(localrc, ESMF_ERR_PASSTHRU, &
         ESMF_CONTEXT, rcToReturn=rc)) return

    ! Return success
    if (present(rc)) rc = localrc

  end function ESMF_IO_YAMLCreate