Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ESMF_Grid), | intent(in), | optional | :: | grid |
function ESMF_GridGetInit(grid) ! ! !RETURN VALUE: ESMF_INIT_TYPE :: ESMF_GridGetInit ! ! !ARGUMENTS: type(ESMF_Grid), intent(in), optional :: grid ! ! !DESCRIPTION: ! Access deep object init code. ! ! The arguments are: ! \begin{description} ! \item [grid] ! Grid object. ! \end{description} ! !EOPI if (present(grid)) then ESMF_GridGetInit = ESMF_INIT_GET(grid) else ESMF_GridGetInit = ESMF_INIT_CREATED endif end function ESMF_GridGetInit