GeometrySpec Derived Type

type, public :: GeometrySpec


Inherits

type~~geometryspec~~InheritsGraph type~geometryspec GeometrySpec type~geomspec GeomSpec type~geometryspec->type~geomspec geom_spec type~verticalgrid VerticalGrid type~geometryspec->type~verticalgrid vertical_grid

Inherited by

type~~geometryspec~~InheritedByGraph type~geometryspec GeometrySpec type~componentspec ComponentSpec type~componentspec->type~geometryspec geometry_spec type~outermetacomponent OuterMetaComponent type~outermetacomponent->type~componentspec component_spec

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: provider
integer, public :: kind = GEOMETRY_FROM_PARENT
class(GeomSpec), public, allocatable :: geom_spec
class(VerticalGrid), public, allocatable :: vertical_grid

Constructor

public interface GeometrySpec

  • private function new_GeometrySpecSimple(kind) result(spec)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: kind

    Return Value type(GeometrySpec)

  • private function new_GeometryFromChild(provider) result(spec)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: provider

    Return Value type(GeometrySpec)

  • private function new_GeometryProvider(geom_spec, vertical_grid) result(spec)

    Arguments

    Type IntentOptional Attributes Name
    class(GeomSpec), intent(in), optional :: geom_spec
    class(VerticalGrid), intent(in), optional :: vertical_grid

    Return Value type(GeometrySpec)


Source Code

   type GeometrySpec
      integer :: kind= GEOMETRY_FROM_PARENT
      character(len=:), allocatable :: provider ! name of child
      class(GeomSpec), allocatable :: geom_spec
      class(VerticalGrid), allocatable :: vertical_grid
   end type GeometrySpec