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), | private | :: | fStencil | fluid stencil same as stencil(1) |
|||
integer, | private | :: | nStencils | number of stencils used in this scheme |
|||
type(grw_stencilheaderarray_type), | private | :: | grwStencil | Temporary growing array of stencil It is copied to stencil(:) and destroyed, where this is destroyed? |
|||
type(tem_stencilHeader_type), | private, | 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), | private | :: | stencil_labels | dynamic array of labels created from stencil directions to create unique growing array of grwStencil |
|||
integer, | private | :: | fStencil_pos | position of fluid stencil in grwStencil |
|||
real(kind=rk), | private, | allocatable | :: | weight(:) | The weights for the different discrete velocities |
||
real(kind=rk), | private | :: | cs | Lattice speed of sound for fStencil $\sum_i (weight_icx_icx_i) = c_s^2 I |
|||
real(kind=rk), | private, | allocatable | :: | prevailDir(:,:) | Prevailing directions |
||
type(mus_moment_type), | private | :: | moment | Moment space definition |
|||
logical, | private | :: | new_stencil | = | .false. | New stencil definition loaded from config |