ryujin 2.1.1 revision 0348cbb53a3e4b1da2a4c037e81f88f2d21ce219
|
#include <source/scalar_conservation/flux_burgers.h>
Public Member Functions | |
Burgers (const std::string &subsection) | |
double | value (const double state, const unsigned int) const override |
double | gradient (const double state, const unsigned int) const override |
Public Member Functions inherited from ryujin::FluxLibrary::Flux | |
Flux (const std::string &name, const std::string &subsection) | |
virtual double | value (double state, unsigned int direction) const =0 |
virtual double | gradient (double state, unsigned int direction) const =0 |
ACCESSOR_READ_ONLY (name) | |
ACCESSOR_READ_ONLY (flux_formula) | |
Additional Inherited Members | |
Protected Attributes inherited from ryujin::FluxLibrary::Flux | |
double | derivative_approximation_delta_ |
std::string | flux_formula_ |
A generic flux description parsed from a user-provided string
Definition at line 19 of file flux_burgers.h.
|
inline |
Definition at line 22 of file flux_burgers.h.
References ryujin::FluxLibrary::Flux::flux_formula_.
|
inlineoverridevirtual |
Return the flux f(u) for the given state U
and direction direction
.
Implements ryujin::FluxLibrary::Flux.
Definition at line 29 of file flux_burgers.h.
|
inlineoverridevirtual |
Return the gradient f'(u) of the flux for the given state u
and direction direction
.
Implements ryujin::FluxLibrary::Flux.
Definition at line 36 of file flux_burgers.h.