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
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.. |