ESMF_InfoCacheDestroy Subroutine

private subroutine ESMF_InfoCacheDestroy(self, rc)

Type Bound

ESMF_InfoCache

Arguments

Type IntentOptional Attributes Name
class(ESMF_InfoCache), intent(inout) :: self
integer, intent(out) :: rc

Calls

proc~~esmf_infocachedestroy~~CallsGraph proc~esmf_infocachedestroy ESMF_InfoCache%ESMF_InfoCacheDestroy interface~c_infocache_destroy c_infocache_destroy proc~esmf_infocachedestroy->interface~c_infocache_destroy proc~esmf_logfounderror ESMF_LogFoundError proc~esmf_infocachedestroy->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_infocachedestroy~~CalledByGraph proc~esmf_infocachedestroy ESMF_InfoCache%ESMF_InfoCacheDestroy none~destroy~2 ESMF_InfoCache%Destroy none~destroy~2->proc~esmf_infocachedestroy proc~esmf_statereconcile_driver ESMF_StateReconcile_driver proc~esmf_statereconcile_driver->none~destroy~2 program~esmf_infocacheutest ESMF_InfoCacheUTest program~esmf_infocacheutest->none~destroy~2 proc~esmf_statereconcile ESMF_StateReconcile proc~esmf_statereconcile->proc~esmf_statereconcile_driver

Source Code

subroutine ESMF_InfoCacheDestroy(self, rc)
  class(ESMF_InfoCache), intent(inout) :: self
  integer, intent(out) :: rc

  rc = c_infocache_destroy(self%ptr)
  if (ESMF_LogFoundError(rc, ESMF_ERR_PASSTHRU, ESMF_CONTEXT, rcToReturn=rc)) return

  self%ptr = C_NULL_PTR
  
end subroutine ESMF_InfoCacheDestroy