ESMF_InfoGetFromHostGeom Subroutine

private subroutine ESMF_InfoGetFromHostGeom(host, info, keywordEnforcer, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Geom), intent(in) :: host
type(ESMF_Info), intent(out) :: info
type(ESMF_KeywordEnforcer), optional :: keywordEnforcer
integer, intent(inout), optional :: rc

Source Code

subroutine ESMF_InfoGetFromHostGeom(host, info, keywordEnforcer, rc)
  type(ESMF_Geom), intent(in) :: host
  type(ESMF_Info), intent(out) :: info
type(ESMF_KeywordEnforcer), optional:: keywordEnforcer ! must use keywords below
  integer, intent(inout), optional :: rc

  integer :: localrc
  type(ESMF_InfoDescribe) :: eidesc

  if (present(rc)) rc = ESMF_RC_NOT_IMPL

  info = eidesc%GetInfo(host, rc=localrc)
  if (ESMF_LogFoundError(localrc, ESMF_ERR_PASSTHRU, ESMF_CONTEXT, rcToReturn=rc)) return

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