Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website
Loading...
Searching...
No Matches
teno_scalars.h File Reference

Face values of a gas mixture's cell scalars with the TENO stencils of the flow block. More...

#include <Kokkos_Core.hpp>
#include "boundary.h"
#include "common.h"
#include "face_reconstruction.h"
#include "mesh.h"
#include "teno.h"

Go to the source code of this file.

Classes

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

Functions

template<uint8_t DEG>
TENOScalarValues< DEG > make_teno_scalar_values (const TENO &teno, const Mesh &mesh, const BoundaryData &boundaries, Kokkos::View< rtype **, Kokkos::LayoutRight > scalars, Kokkos::View< rtype * > theta, uint32_t n_species)
 TENOScalarValues of degree DEG over a TENO reconstruction's stencils.
 

Detailed Description

Face values of a gas mixture's cell scalars with the TENO stencils of the flow block.

Author
Matthew Bonanni (mbona.nosp@m.nni0.nosp@m.01@gm.nosp@m.ail..nosp@m.com)
Version
0.3
Date
2026-10-03

Function Documentation

◆ make_teno_scalar_values()

template<uint8_t DEG>
TENOScalarValues< DEG > make_teno_scalar_values ( const TENO &  teno,
const Mesh &  mesh,
const BoundaryData &  boundaries,
Kokkos::View< rtype **, Kokkos::LayoutRight >  scalars,
Kokkos::View< rtype * >  theta,
uint32_t  n_species 
)

TENOScalarValues of degree DEG over a TENO reconstruction's stencils.