Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ESMF_Grid), | intent(in) | :: | grid | |||
type(ESMF_GridDecompType), | intent(out) | :: | decompType | |||
integer, | intent(out), | optional | :: | rc |
subroutine ESMF_GridGetDecompType(grid, decompType, rc) ! ! !ARGUMENTS: type(ESMF_Grid), intent(in) :: grid type(ESMF_GridDecompType), intent(out) :: decompType integer, intent(out), optional :: rc ! integer :: localrc call c_ESMC_gridGetDecompType(grid, decompType, localrc) if (ESMF_LogFoundError(localrc, ESMF_ERR_PASSTHRU, & ESMF_CONTEXT, rcToReturn=rc)) return if (present(rc)) rc = ESMF_SUCCESS end subroutine ESMF_GridGetDecompType