type to define a one dimensional stencil for reconstructions.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | stencil | the 1D stencil in treelm coordinates. |
|||
integer, | private | :: | nElems | the number of elements in the stencil, including the cell itself you reconstruct for. |
|||
integer, | private, | allocatable | :: | elemPos(:) | relative position of the stencil elements to the current cell. Note, that this vector has length (nElems-1) since the current cell itself is not stored here. |
||
integer, | private, | allocatable | :: | ngElemPos(:) | relative position of the stencil elements in negative direction to the current cell. Note, that this vector has length (nElems-1) since the current cell itself is not stored here. The entries start with the cell that is most far from the current cell away. |
||
integer, | private, | allocatable | :: | bnd(:,:) | for each element of the mesh we store the lowest and highest left shift that build correct stencils (i.e. correct means: not including any boundary element). The first dimension is the number of elements associated with this stencil. The second dimension is 2, the first is the lowest possible left shift index the second is the highest possible left shift index. |