ESMF_InfoDescribeGetCurrentInfo Function

private function ESMF_InfoDescribeGetCurrentInfo(self, rc) result(info)

Uses

  • proc~~esmf_infodescribegetcurrentinfo~~UsesGraph proc~esmf_infodescribegetcurrentinfo ESMF_InfoDescribe%ESMF_InfoDescribeGetCurrentInfo iso_c_binding iso_c_binding proc~esmf_infodescribegetcurrentinfo->iso_c_binding

Type Bound

ESMF_InfoDescribe

Arguments

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

Return Value type(ESMF_Info)


Calls

proc~~esmf_infodescribegetcurrentinfo~~CallsGraph proc~esmf_infodescribegetcurrentinfo ESMF_InfoDescribe%ESMF_InfoDescribeGetCurrentInfo none~getcurrentbase ESMF_InfoDescribe%GetCurrentBase proc~esmf_infodescribegetcurrentinfo->none~getcurrentbase proc~esmf_infogetfrombase ESMF_InfoGetFromBase proc~esmf_infodescribegetcurrentinfo->proc~esmf_infogetfrombase proc~esmf_logfounderror ESMF_LogFoundError proc~esmf_infodescribegetcurrentinfo->proc~esmf_logfounderror proc~esmf_infodescribegetcurrentbase ESMF_InfoDescribe%ESMF_InfoDescribeGetCurrentBase none~getcurrentbase->proc~esmf_infodescribegetcurrentbase interface~c_info_base_get c_info_base_get proc~esmf_infogetfrombase->interface~c_info_base_get 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 proc~esmf_infodescribegetcurrentbase->proc~esmf_logfounderror 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

Source Code

function ESMF_InfoDescribeGetCurrentInfo(self, rc) result(info)
  use iso_c_binding, only : C_NULL_PTR
  class(ESMF_InfoDescribe), intent(in) :: self
  integer, intent(inout), optional :: rc
  type(ESMF_Base) :: base
  type(ESMF_Info) :: info
  integer :: localrc
  localrc = ESMF_FAILURE
  if (present(rc)) rc = ESMF_RC_NOT_IMPL
  info%ptr = C_NULL_PTR
  base = self%GetCurrentBase(rc=localrc)
  if (ESMF_LogFoundError(localrc, ESMF_ERR_PASSTHRU, ESMF_CONTEXT, rcToReturn=rc)) return
  call ESMF_InfoGetFromBase(base, info, rc=localrc)
  if (ESMF_LogFoundError(localrc, ESMF_ERR_PASSTHRU, ESMF_CONTEXT, rcToReturn=rc)) return
  info%is_view = .true.
  if (present(rc)) rc = ESMF_SUCCESS
end function ESMF_InfoDescribeGetCurrentInfo