mus_scheme_layout_type Derived Type

type, public :: mus_scheme_layout_type

data structure containing all information related to the compute stencil. Several stencils can be defined. mus_moments_module Moments are directly related to the stencil layout and are therefore defined here


Inherits

type~~mus_scheme_layout_type~~InheritsGraph type~mus_scheme_layout_type mus_scheme_layout_type dyn_labelarray_type dyn_labelarray_type type~mus_scheme_layout_type->dyn_labelarray_type stencil_labels grw_stencilheaderarray_type grw_stencilheaderarray_type type~mus_scheme_layout_type->grw_stencilheaderarray_type grwStencil tem_stencilHeader_type tem_stencilHeader_type type~mus_scheme_layout_type->tem_stencilHeader_type fStencil, stencil type~mus_moment_type mus_moment_type type~mus_scheme_layout_type->type~mus_moment_type moment type~mus_scheme_derived_quantities_type mus_scheme_derived_quantities_type type~mus_scheme_layout_type->type~mus_scheme_derived_quantities_type quantities tem_matrix_type tem_matrix_type type~mus_moment_type->tem_matrix_type toMoments, toPDF

Inherited by

type~~mus_scheme_layout_type~~InheritedByGraph type~mus_scheme_layout_type mus_scheme_layout_type type~mus_scheme_type mus_scheme_type type~mus_scheme_type->type~mus_scheme_layout_type layout type~mus_varsys_solverdata_type mus_varSys_solverData_type type~mus_varsys_solverdata_type->type~mus_scheme_type scheme type~mus_varsys_data_type mus_varSys_data_type type~mus_varsys_data_type->type~mus_varsys_solverdata_type solverData

Components

Type Visibility Attributes Name Initial
type(tem_stencilHeader_type), public :: fStencil

fluid stencil same as stencil(1)

integer, public :: nStencils

number of stencils used in this scheme

type(grw_stencilheaderarray_type), public :: grwStencil

Temporary growing array of stencil It is copied to stencil(:) and destroyed, where this is destroyed?

type(tem_stencilHeader_type), public, allocatable :: stencil(:)

The list of stencil types, the stencils for the individual schemes is ordered as follows:


| flSt | bcSt1_field1 ... bcStN_field1 ... bcSt1_fieldM ... bcStN_fieldM | addSt ... |

Unique stencil label for boundary stencils are created with boundary label and stencil%cxDir therefore each stencil is limited to one boundary type

type(dyn_labelarray_type), public :: stencil_labels

dynamic array of labels created from stencil directions to create unique growing array of grwStencil

integer, public :: fStencil_pos

position of fluid stencil in grwStencil

real(kind=rk), public, allocatable :: weight(:)

The weights for the different discrete velocities

real(kind=rk), public :: cs

Lattice speed of sound for fStencil $\sum_i (weight_icx_icx_i) = c_s^2 I

real(kind=rk), public, allocatable :: prevailDir(:,:)

Prevailing directions

type(mus_moment_type), public :: moment

Moment space definition

logical, public :: new_stencil = .false.

New stencil definition loaded from config

type(mus_scheme_derived_quantities_type), public :: quantities

derive quantities that depends on the layout such as velocity, pdf_eq, etc..