ESMF_InfoGetFromPointer Subroutine

public subroutine ESMF_InfoGetFromPointer(ptr, info, keywordEnforcer, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Pointer), intent(in) :: ptr
type(ESMF_Info), intent(out) :: info
type(ESMF_KeywordEnforcer), optional :: keywordEnforcer
integer, intent(out), optional :: rc

Calls

proc~~esmf_infogetfrompointer~~CallsGraph proc~esmf_infogetfrompointer ESMF_InfoGetFromPointer interface~c_info_base_get c_info_base_get proc~esmf_infogetfrompointer->interface~c_info_base_get

Called by

proc~~esmf_infogetfrompointer~~CalledByGraph proc~esmf_infogetfrompointer ESMF_InfoGetFromPointer proc~esmf_gridcreatecopyfromnewdg ESMF_GridCreateCopyFromNewDG proc~esmf_gridcreatecopyfromnewdg->proc~esmf_infogetfrompointer proc~esmf_outputweightfile ESMF_OutputWeightFile proc~esmf_outputweightfile->proc~esmf_infogetfrompointer proc~getinfoarray ESMF_InfoDescribe%getInfoArray proc~getinfoarray->proc~esmf_infogetfrompointer proc~getinfoarraybundle ESMF_InfoDescribe%getInfoArrayBundle proc~getinfoarraybundle->proc~esmf_infogetfrompointer proc~getinfodistgrid ESMF_InfoDescribe%getInfoDistGrid proc~getinfodistgrid->proc~esmf_infogetfrompointer proc~getinfogrid ESMF_InfoDescribe%getInfoGrid proc~getinfogrid->proc~esmf_infogetfrompointer proc~getinfomesh ESMF_InfoDescribe%getInfoMesh proc~getinfomesh->proc~esmf_infogetfrompointer interface~esmf_gridcreate ESMF_GridCreate interface~esmf_gridcreate->proc~esmf_gridcreatecopyfromnewdg none~getinfo ESMF_InfoDescribe%GetInfo none~getinfo->proc~getinfoarray none~getinfo->proc~getinfoarraybundle none~getinfo->proc~getinfodistgrid none~getinfo->proc~getinfogrid none~getinfo->proc~getinfomesh proc~esmf_gridcreatefrmncfile ESMF_GridCreateFrmNCFile proc~esmf_gridcreatefrmncfile->proc~esmf_gridcreatecopyfromnewdg proc~esmf_gridcreatefrmncfiledg ESMF_GridCreateFrmNCFileDG proc~esmf_gridcreatefrmncfiledg->proc~esmf_gridcreatecopyfromnewdg proc~esmf_sparsematrixwrite ESMF_SparseMatrixWrite proc~esmf_sparsematrixwrite->proc~esmf_outputweightfile proc~getinfogeom ESMF_InfoDescribe%getInfoGeom proc~getinfogeom->proc~getinfogrid proc~getinfogeom->proc~getinfomesh program~esmf_ioutest ESMF_IOUTest program~esmf_ioutest->proc~esmf_outputweightfile

Source Code

subroutine ESMF_InfoGetFromPointer(ptr, info, keywordEnforcer, rc)
! !ARGUMENTS:
  type(ESMF_Pointer), intent(in) :: ptr
  type(ESMF_Info), intent(out) :: info
type(ESMF_KeywordEnforcer), optional:: keywordEnforcer ! must use keywords below
  integer, intent(out), optional :: rc
!
! !DESCRIPTION:
!     Get an \texttt{ESMF\_Info} handle from an \texttt{ESMF\Pointer} object.
!
!     The arguments are:
!     \begin{description}
!     \item [base]
!       Target \texttt{ESMF\_Pointer} object.
!     \item [info]
!       Outgoing \texttt{ESMF\_Info} object.
!     \item [{[rc]}]
!       Return code; equals {\tt ESMF\_SUCCESS} if there are no errors.
!     \end{description}
!EOPI

  if (present(rc)) rc = ESMF_FAILURE
  info%ptr = c_info_base_get(ptr%ptr)
  if (present(rc)) rc = ESMF_SUCCESS
end subroutine ESMF_InfoGetFromPointer