spatial_value_type Derived Type

type, private :: spatial_value_type

stores values of spatial term during initialization to reduce computations during main loop.


Components

Type Visibility Attributes Name Initial
type(grw_realarray_type), public :: evalVal

Evaluated variable value on each point. For vectorial variable, the values are stored as (iVal-1)*nComp + iComp


Source Code

  type spatial_value_type
    !> Evaluated variable value on each point.
    !! For vectorial variable, the values are stored as
    !! (iVal-1)*nComp + iComp
    type(grw_realArray_type) :: evalVal
  end type spatial_value_type