ESMF_ConfigGet Subroutine

public subroutine ESMF_ConfigGet(config, keywordEnforcer, hconfig, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Config), intent(inout) :: config
type(ESMF_KeywordEnforcer), optional :: keywordEnforcer
type(ESMF_HConfig), intent(out), optional :: hconfig
integer, intent(out), optional :: rc

Calls

proc~~esmf_configget~~CallsGraph proc~esmf_configget ESMF_ConfigGet proc~esmf_configgetinit ESMF_ConfigGetInit proc~esmf_configget->proc~esmf_configgetinit proc~esmf_imerr ESMF_IMErr proc~esmf_configget->proc~esmf_imerr proc~esmf_initcheckdeep ESMF_InitCheckDeep proc~esmf_imerr->proc~esmf_initcheckdeep proc~esmf_logfounderror ESMF_LogFoundError proc~esmf_imerr->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

Called by

proc~~esmf_configget~~CalledByGraph proc~esmf_configget ESMF_ConfigGet proc~esmf_compget ESMF_CompGet proc~esmf_compget->proc~esmf_configget proc~esmf_frameworkinternalinit ESMF_FrameworkInternalInit proc~esmf_frameworkinternalinit->proc~esmf_configget program~esmf_hconfigex ESMF_HConfigEx program~esmf_hconfigex->proc~esmf_configget proc~esmf_cplcompget ESMF_CplCompGet proc~esmf_cplcompget->proc~esmf_compget proc~esmf_cplcompsetservicescomp ESMF_CplCompSetServicesComp proc~esmf_cplcompsetservicescomp->proc~esmf_compget proc~esmf_gridcompget ESMF_GridCompGet proc~esmf_gridcompget->proc~esmf_compget proc~esmf_gridcompsetservicescomp ESMF_GridCompSetServicesComp proc~esmf_gridcompsetservicescomp->proc~esmf_compget proc~esmf_initialize ESMF_Initialize proc~esmf_initialize->proc~esmf_frameworkinternalinit proc~esmf_scicompget ESMF_SciCompGet proc~esmf_scicompget->proc~esmf_compget proc~f_esmf_compgetctype f_esmf_compgetctype proc~f_esmf_compgetctype->proc~esmf_compget proc~f_esmf_compgetcurrentphase f_esmf_compgetcurrentphase proc~f_esmf_compgetcurrentphase->proc~esmf_compget proc~f_esmf_compgettimeout f_esmf_compgettimeout proc~f_esmf_compgettimeout->proc~esmf_compget proc~f_esmf_compgettunnel f_esmf_compgettunnel proc~f_esmf_compgettunnel->proc~esmf_compget proc~f_esmf_compgetvm f_esmf_compgetvm proc~f_esmf_compgetvm->proc~esmf_compget proc~f_esmf_compgetvminfo f_esmf_compgetvminfo proc~f_esmf_compgetvminfo->proc~esmf_compget proc~f_esmf_compgetvmparent f_esmf_compgetvmparent proc~f_esmf_compgetvmparent->proc~esmf_compget proc~f_esmf_compgetvmplan f_esmf_compgetvmplan proc~f_esmf_compgetvmplan->proc~esmf_compget proc~f_esmf_frameworkinitialize f_esmf_frameworkinitialize proc~f_esmf_frameworkinitialize->proc~esmf_frameworkinternalinit proc~nuopc_cplcompareservicesset NUOPC_CplCompAreServicesSet proc~nuopc_cplcompareservicesset->proc~esmf_compget proc~nuopc_gridcompareservicesset NUOPC_GridCompAreServicesSet proc~nuopc_gridcompareservicesset->proc~esmf_compget

Source Code

  subroutine ESMF_ConfigGet(config, keywordEnforcer, hconfig, rc)

! !ARGUMENTS:
    type(ESMF_Config),  intent(inout)          :: config
type(ESMF_KeywordEnforcer), optional:: keywordEnforcer ! must use keywords below
    type(ESMF_HConfig), intent(out),  optional :: hconfig
    integer,            intent(out),  optional :: rc

!
! !DESCRIPTION: Access Config internals.
!
!   The arguments are:
!   \begin{description}
!   \item [config]
!     Already created {\tt ESMF\_Config} object.
!   \item [{[hconfig]}]
!     Internally kept {\tt ESMF\_HConfig} object.
!   \item [{[rc]}]
!     Return code; equals {\tt ESMF\_SUCCESS} if there are no errors.
!   \end{description}
!
!EOP --------------------------------------------------------------------------
    integer               :: localrc        ! local return code

    ! initialize return code; assume routine not implemented
    localrc = ESMF_RC_NOT_IMPL
    if (present(rc)) rc = ESMF_RC_NOT_IMPL

    !check variables
    ESMF_INIT_CHECK_DEEP(ESMF_ConfigGetInit,config,rc)

    if (present(hconfig)) then
      hconfig = config%cptr%hconfig
    endif

    if ( present (rc )) rc = ESMF_SUCCESS

  end subroutine ESMF_ConfigGet