Abstract class for numerical flux for a system of hyperbolic conservation laws on a face with states, fluxes and characteristic speed.
More...
#include <hyperbolic.hpp>
Abstract class for numerical flux for a system of hyperbolic conservation laws on a face with states, fluxes and characteristic speed.
Definition at line 125 of file hyperbolic.hpp.
◆ RiemannSolver()
mfem::RiemannSolver::RiemannSolver |
( |
const FluxFunction & | fluxFunction | ) |
|
|
inline |
◆ ~RiemannSolver()
virtual mfem::RiemannSolver::~RiemannSolver |
( |
| ) |
|
|
virtualdefault |
◆ Eval()
Evaluates numerical flux for given states and fluxes. Must be overloaded in a derived class.
- Parameters
-
[in] | state1 | state value at a point from the first element (num_equations) |
[in] | state2 | state value at a point from the second element (num_equations) |
[in] | nor | scaled normal vector, see mfem::CalcOrtho() (dim) |
[in] | Tr | face information |
[out] | flux | numerical flux (num_equations) |
Implemented in mfem::RusanovFlux.
◆ GetFluxFunction()
const FluxFunction & mfem::RiemannSolver::GetFluxFunction |
( |
| ) |
const |
|
inline |
Get flux function F.
- Returns
- constant reference to the flux function.
Definition at line 151 of file hyperbolic.hpp.
◆ fluxFunction
The documentation for this class was generated from the following file: