22 KPP(
const std::string &subsection)
23 :
Flux(
"kpp", subsection)
29 double value(
const double state,
30 const unsigned int direction)
const override
34 return std::sin(state);
36 return std::cos(state);
40 "KPP is only defined in (1 or) 2 space dimensions"));
47 const unsigned int direction)
const override
51 return std::cos(state);
53 return -std::sin(state);
57 "KPP is only defined in (1 or) 2 space dimensions"));
std::string flux_formula_
double value(const double state, const unsigned int direction) const override
KPP(const std::string &subsection)
double gradient(const double state, const unsigned int direction) const override