ESMF_ContainerCreate Function

public function ESMF_ContainerCreate(rc)

Arguments

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

Return Value type(ESMF_Container)


Calls

proc~~esmf_containercreate~~CallsGraph proc~esmf_containercreate ESMF_ContainerCreate c_esmc_containercreate c_esmc_containercreate proc~esmf_containercreate->c_esmc_containercreate proc~esmf_logfounderror ESMF_LogFoundError proc~esmf_containercreate->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_containercreate~~CalledByGraph proc~esmf_containercreate ESMF_ContainerCreate proc~initializeipdv02p1 InitializeIPDv02p1 proc~initializeipdv02p1->proc~esmf_containercreate proc~nuopc_fielddictionarycreatei NUOPC_FieldDictionaryCreateI proc~nuopc_fielddictionarycreatei->proc~esmf_containercreate program~esmf_containerutest ESMF_ContainerUTest program~esmf_containerutest->proc~esmf_containercreate program~esmf_statecreateutest ESMF_StateCreateUTest program~esmf_statecreateutest->proc~esmf_containercreate proc~initializeexternaladvertise InitializeExternalAdvertise proc~initializeexternaladvertise->proc~initializeipdv02p1 proc~initializegeneric InitializeGeneric proc~initializegeneric->proc~initializeipdv02p1 proc~nuopc_fielddictionaryegestyamli NUOPC_FieldDictionaryEgestYAMLI proc~nuopc_fielddictionaryegestyamli->proc~nuopc_fielddictionarycreatei proc~nuopc_fielddictionarysetupdefault NUOPC_FieldDictionarySetupDefault proc~nuopc_fielddictionarysetupdefault->proc~nuopc_fielddictionarycreatei proc~nuopc_fielddictionarysetupempty NUOPC_FieldDictionarySetupEmpty proc~nuopc_fielddictionarysetupempty->proc~nuopc_fielddictionarycreatei interface~nuopc_fielddictionarysetup NUOPC_FieldDictionarySetup interface~nuopc_fielddictionarysetup->proc~nuopc_fielddictionarysetupdefault proc~nuopc_fielddictionarysetupfile NUOPC_FieldDictionarySetupFile interface~nuopc_fielddictionarysetup->proc~nuopc_fielddictionarysetupfile proc~nuopc_fielddictionaryegesti NUOPC_FieldDictionaryEgestI proc~nuopc_fielddictionaryegesti->proc~nuopc_fielddictionaryegestyamli proc~nuopc_fielddictionarysetupfile->proc~nuopc_fielddictionarysetupempty proc~nuopc_fielddictionaryaddentry NUOPC_FieldDictionaryAddEntry proc~nuopc_fielddictionaryaddentry->interface~nuopc_fielddictionarysetup proc~nuopc_fielddictionaryegest NUOPC_FieldDictionaryEgest proc~nuopc_fielddictionaryegest->interface~nuopc_fielddictionarysetup proc~nuopc_fielddictionaryegest->proc~nuopc_fielddictionaryegesti 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_ContainerCreate(rc)
!
! !ARGUMENTS:
    integer,                    intent(out),  optional  :: rc
!     
! !RETURN VALUE:
    type(ESMF_Container) :: ESMF_ContainerCreate
!         
!
! !DESCRIPTION:
!   Create empty ESMF Container.
!
!   The arguments are:
!   \begin{description}
!   \item[{[rc]}]
!     Return code; equals {\tt ESMF\_SUCCESS} if there are no errors.
!   \end{description}
!
!EOPI
!------------------------------------------------------------------------------
    integer                 :: localrc      ! local return code
    type(ESMF_Container)    :: container    ! new Container

    ! initialize return code; assume routine not implemented
    localrc = ESMF_RC_NOT_IMPL
    if (present(rc)) rc = ESMF_RC_NOT_IMPL
    
    ! Mark this Container object as invalid
    container%this = ESMF_NULL_POINTER
    
    call c_ESMC_ContainerCreate(container, localrc)
    if (ESMF_LogFoundError(localrc, ESMF_ERR_PASSTHRU, &
      ESMF_CONTEXT, rcToReturn=rc)) return
    
    ! Set return value
    ESMF_ContainerCreate = container 
 
    ! Set init code
    ESMF_INIT_SET_CREATED(ESMF_ContainerCreate)
 
    ! Return successfully
    if (present(rc)) rc = ESMF_SUCCESS
    
  end function ESMF_ContainerCreate