Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ESMF_XGridType), | pointer | :: | xgtypep | |||
integer, | intent(out), | optional | :: | rc |
subroutine ESMF_XGridInitialize(xgtypep, rc) ! ! !ARGUMENTS: type(ESMF_XGridType), pointer :: xgtypep integer, intent(out), optional :: rc ! ! !DESCRIPTION: ! Takes an {\tt ESMF\_XGrid} object and default initialize its ! auxiliary data members. Only to be used by other XGrid Create methods. ! ! The arguments are: ! \begin{description} ! \item [xgtypep] ! {\tt ESMF\_XGridType} object to be default initialized. ! \item [{[rc]}] ! Return code; equals {\tt ESMF\_SUCCESS} if there are no errors. ! \end{description} ! !EOPI xgtypep%status = ESMF_STATUS_UNINIT xgtypep%coordSys = ESMF_COORDSYS_SPH_DEG xgtypep%online = 0 xgtypep%is_proxy = .false. xgtypep%storeOverlay = .false. nullify(xgtypep%sideA) nullify(xgtypep%sideB) nullify(xgtypep%fracA2X) nullify(xgtypep%fracB2X) nullify(xgtypep%fracX2A) nullify(xgtypep%fracX2B) nullify(xgtypep%frac2A) nullify(xgtypep%frac2B) nullify(xgtypep%area) nullify(xgtypep%centroid) nullify(xgtypep%sparseMatA2X) nullify(xgtypep%sparseMatX2A) nullify(xgtypep%sparseMatB2X) nullify(xgtypep%sparseMatX2B) if(present(rc)) rc = ESMF_SUCCESS end subroutine ESMF_XGridInitialize