8#include <compile_time_options.h>
12#include <deal.II/base/function.h>
13#include <deal.II/base/parameter_acceptor.h>
30 class Flux :
public dealii::ParameterAcceptor
38 Flux(
const std::string &name,
const std::string &subsection)
40 : ParameterAcceptor(subsection +
"/" + name)
44 1.e4 * std::numeric_limits<double>::epsilon();
52 virtual double value(
double state,
unsigned int direction)
const = 0;
59 virtual double gradient(
double state,
unsigned int direction)
const = 0;
90 const std::
string name_;
std::string flux_formula_
double derivative_approximation_delta_
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