ESMF_GeomGetInit Function

public function ESMF_GeomGetInit(geom)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Geom), intent(in), optional :: geom

Return Value integer(kind=ESMF_KIND_I8)


Source Code

      function ESMF_GeomGetInit(geom)
!
! !RETURN VALUE:
      ESMF_INIT_TYPE :: ESMF_GeomGetInit
!
! !ARGUMENTS:
      type(ESMF_Geom), intent(in), optional :: geom
!
! !DESCRIPTION:
! Access deep object init code.
!
! The arguments are:
! \begin{description}
! \item [geom]
! Grid Base object.
! \end{description}
!
!EOPI

    if (present(geom)) then
      ESMF_GeomGetInit = ESMF_INIT_GET(geom)
    else
      ESMF_GeomGetInit = ESMF_INIT_CREATED
    endif

    end function ESMF_GeomGetInit