ESMF_InfoDescribeDestroy Subroutine

private subroutine ESMF_InfoDescribeDestroy(self, rc)

Type Bound

ESMF_InfoDescribe

Arguments

Type IntentOptional Attributes Name
class(ESMF_InfoDescribe), intent(inout) :: self
integer, intent(inout), optional :: rc

Calls

proc~~esmf_infodescribedestroy~~CallsGraph proc~esmf_infodescribedestroy ESMF_InfoDescribe%ESMF_InfoDescribeDestroy proc~esmf_infodestroy ESMF_InfoDestroy proc~esmf_infodescribedestroy->proc~esmf_infodestroy proc~esmf_logfounderror ESMF_LogFoundError proc~esmf_infodescribedestroy->proc~esmf_logfounderror proc~esmf_infodestroy->proc~esmf_logfounderror interface~c_info_destroy c_info_destroy proc~esmf_infodestroy->interface~c_info_destroy 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_infodescribedestroy~~CalledByGraph proc~esmf_infodescribedestroy ESMF_InfoDescribe%ESMF_InfoDescribeDestroy none~destroy ESMF_InfoDescribe%Destroy none~destroy->proc~esmf_infodescribedestroy proc~esmf_attributecopyarraybundletoarraybundle ESMF_AttributeCopyArrayBundleToArrayBundle proc~esmf_attributecopyarraybundletoarraybundle->none~destroy proc~esmf_attributecopyarraytoarray ESMF_AttributeCopyArrayToArray proc~esmf_attributecopyarraytoarray->none~destroy proc~esmf_attributecopycplcomptocplcomp ESMF_AttributeCopyCplCompToCplComp proc~esmf_attributecopycplcomptocplcomp->none~destroy proc~esmf_attributecopydistgridtodistgrid ESMF_AttributeCopyDistGridToDistGrid proc~esmf_attributecopydistgridtodistgrid->none~destroy proc~esmf_attributecopyfieldbundletofieldbundle ESMF_AttributeCopyFieldBundleToFieldBundle proc~esmf_attributecopyfieldbundletofieldbundle->none~destroy proc~esmf_attributecopyfieldtofield ESMF_AttributeCopyFieldToField proc~esmf_attributecopyfieldtofield->none~destroy proc~esmf_attributecopygridcomptogridcomp ESMF_AttributeCopyGridCompToGridComp proc~esmf_attributecopygridcomptogridcomp->none~destroy proc~esmf_attributecopygridtogrid ESMF_AttributeCopyGridToGrid proc~esmf_attributecopygridtogrid->none~destroy proc~esmf_attributecopylocstreamtolocstream ESMF_AttributeCopyLocStreamToLocStream proc~esmf_attributecopylocstreamtolocstream->none~destroy proc~esmf_attributecopymeshtomesh ESMF_AttributeCopyMeshToMesh proc~esmf_attributecopymeshtomesh->none~destroy proc~esmf_attributecopyscicomptoscicomp ESMF_AttributeCopySciCompToSciComp proc~esmf_attributecopyscicomptoscicomp->none~destroy proc~esmf_attributecopystatetostate ESMF_AttributeCopyStateToState proc~esmf_attributecopystatetostate->none~destroy proc~esmf_infocacheupdatefields ESMF_InfoCache%ESMF_InfoCacheUpdateFields proc~esmf_infocacheupdatefields->none~destroy proc~esmf_infosynccplcomp ESMF_InfoSyncCplComp proc~esmf_infosynccplcomp->none~destroy proc~esmf_infosyncfield ESMF_InfoSyncField proc~esmf_infosyncfield->none~destroy proc~esmf_infosyncfieldbundle ESMF_InfoSyncFieldBundle proc~esmf_infosyncfieldbundle->none~destroy proc~esmf_infosyncgridcomp ESMF_InfoSyncGridComp proc~esmf_infosyncgridcomp->none~destroy proc~esmf_infosyncscicomp ESMF_InfoSyncSciComp proc~esmf_infosyncscicomp->none~destroy proc~esmf_infosyncstate ESMF_InfoSyncState proc~esmf_infosyncstate->none~destroy program~esmf_infodescribeutest ESMF_InfoDescribeUTest program~esmf_infodescribeutest->none~destroy program~esmf_infosyncutest ESMF_InfoSyncUTest program~esmf_infosyncutest->none~destroy interface~esmf_attributecopy ESMF_AttributeCopy interface~esmf_attributecopy->proc~esmf_attributecopyarraybundletoarraybundle interface~esmf_attributecopy->proc~esmf_attributecopyarraytoarray interface~esmf_attributecopy->proc~esmf_attributecopycplcomptocplcomp interface~esmf_attributecopy->proc~esmf_attributecopydistgridtodistgrid interface~esmf_attributecopy->proc~esmf_attributecopyfieldbundletofieldbundle interface~esmf_attributecopy->proc~esmf_attributecopyfieldtofield interface~esmf_attributecopy->proc~esmf_attributecopygridcomptogridcomp interface~esmf_attributecopy->proc~esmf_attributecopygridtogrid interface~esmf_attributecopy->proc~esmf_attributecopylocstreamtolocstream interface~esmf_attributecopy->proc~esmf_attributecopymeshtomesh interface~esmf_attributecopy->proc~esmf_attributecopyscicomptoscicomp interface~esmf_attributecopy->proc~esmf_attributecopystatetostate interface~esmf_infosync ESMF_InfoSync interface~esmf_infosync->proc~esmf_infosynccplcomp interface~esmf_infosync->proc~esmf_infosyncfield interface~esmf_infosync->proc~esmf_infosyncfieldbundle interface~esmf_infosync->proc~esmf_infosyncgridcomp interface~esmf_infosync->proc~esmf_infosyncscicomp interface~esmf_infosync->proc~esmf_infosyncstate none~updatefields ESMF_InfoCache%UpdateFields none~updatefields->proc~esmf_infocacheupdatefields

Source Code

subroutine ESMF_InfoDescribeDestroy(self, rc)
  class(ESMF_InfoDescribe), intent(inout) :: self
  integer, intent(inout), optional :: rc
  integer :: localrc

  localrc = ESMF_FAILURE
  if (present(rc)) rc = ESMF_RC_NOT_IMPL
  if (self%is_initialized) then
    if (self%createInfo) then
      call ESMF_InfoDestroy(self%info, rc=localrc)
      if (ESMF_LogFoundError(localrc, ESMF_ERR_PASSTHRU, ESMF_CONTEXT, rcToReturn=rc)) return
    endif
  endif

  nullify(self%searchCriteria)
  nullify(self%vmIdMap)

  if (present(rc)) rc = ESMF_SUCCESS
end subroutine ESMF_InfoDescribeDestroy