Linear reconstruction of the scalars [Y_1 .. Y_Ns, gamma, e0] with the weights the flow block already uses: the large central stencil in smooth cells, and in troubled cells, on each face, the stencils that TENO selected for the entropy (contact) field there, which the species share. The weights are the same for every scalar, so mass fractions summing to one sum to one at every face point. The cell's bound-preserving factor theta (ScalarReconstruction) scales the deviation from the cell value.
More...
|
| KOKKOS_INLINE_FUNCTION uint8_t | n_quad () const |
| |
| KOKKOS_INLINE_FUNCTION uint8_t | n_faces (const uint32_t c) const |
| |
| KOKKOS_INLINE_FUNCTION rtype | entry_value (const int32_t c, const int32_t f, const uint32_t j) const |
| | Scalar j of a stencil entry: cell c, or its mirror across boundary face f.
|
| |
| KOKKOS_INLINE_FUNCTION bool | face_point_basis (const uint32_t f, const uint8_t q, const uint32_t c, rtype *psi) const |
| | Monomials minus their cell means at point q of face f, in cell c's frame.
|
| |
| KOKKOS_INLINE_FUNCTION void | large_coefficients (const uint32_t c, const uint32_t j, rtype *a) const |
| |
| KOKKOS_INLINE_FUNCTION void | sector_coefficients (const uint32_t c, const uint8_t s, const uint32_t j, rtype *a) const |
| |
| KOKKOS_INLINE_FUNCTION void | evaluate (const uint32_t c, const uint32_t j, const uint8_t k, const rtype *aK, const rtype aS[][teno::NK_SMALL], rtype *out) const |
| | Scalar j of cell c at the points of its local face k, given the large-stencil coefficients aK and (troubled cells) the sector ones.
|
| |
| KOKKOS_INLINE_FUNCTION void | coefficients (const uint32_t c, const uint32_t j, rtype *aK, rtype aS[][teno::NK_SMALL]) const |
| | Coefficients of cell c for scalar j: large, and the sectors its troubled faces use.
|
| |
| KOKKOS_INLINE_FUNCTION void | cell_values (const uint32_t c, const uint32_t j, rtype out[][MAX_Q]) const |
| | Scalar j of cell c at the points of all its faces, out[k][q] for local face k.
|
| |
| KOKKOS_INLINE_FUNCTION void | face_values (const uint32_t c, const uint32_t j, const uint8_t k, rtype *out) const |
| | Scalar j of cell c at the points of its local face k.
|
| |
template<
uint8_t DEG>
struct TENOScalarValues< DEG >
Linear reconstruction of the scalars [Y_1 .. Y_Ns, gamma, e0] with the weights the flow block already uses: the large central stencil in smooth cells, and in troubled cells, on each face, the stencils that TENO selected for the entropy (contact) field there, which the species share. The weights are the same for every scalar, so mass fractions summing to one sum to one at every face point. The cell's bound-preserving factor theta (ScalarReconstruction) scales the deviation from the cell value.
Implements the face-value interface of ScalarFaceValues.