14#include <deal.II/base/point.h>
15#include <deal.II/base/tensor.h>
19 namespace ShallowWater
21 template <
typename ScalarNumber =
double>
26 : ParameterAcceptor(subsection)
40 template <
int dim,
typename Number =
double>
87 : hyperbolic_system(hyperbolic_system)
88 , parameters(parameters)
89 , precomputed_values(precomputed_values)
107 const unsigned int i,
108 const unsigned int *js,
109 const dealii::Tensor<1, dim, Number> &n_ij)
const;
119 const Number &h_star)
const;
123 const Number &h)
const;
126 const Number h_star)
const;
129 const Number h_star)
const;
133 const Number h_star)
const;
142 const dealii::Tensor<1, dim, Number> &n_ij)
const;
typename get_value_type< Number >::type ScalarNumber
Vectors::MultiComponentVector< ScalarNumber, n_precomputed_values > PrecomputedVector
dealii::Tensor< 1, problem_dimension, Number > state_type
std::array< Number, n_precomputed_values > precomputed_type
static constexpr unsigned int problem_dimension
RiemannSolverParameters(const std::string &subsection="/RiemannSolver")
Number phi(const primitive_type &riemann_data_i, const primitive_type &riemann_data_j, const Number &h) const
primitive_type riemann_data_from_state(const state_type &U, const dealii::Tensor< 1, dim, Number > &n_ij) const
typename std::array< Number, riemann_data_size > primitive_type
typename View::ScalarNumber ScalarNumber
RiemannSolverParameters< ScalarNumber > Parameters
Number lambda3_plus(const primitive_type &riemann_data, const Number h_star) const
Number lambda1_minus(const primitive_type &riemann_data, const Number h_star) const
static constexpr unsigned int riemann_data_size
Number compute_lambda(const primitive_type &riemann_data_i, const primitive_type &riemann_data_j, const Number h_star) const
typename View::PrecomputedVector PrecomputedVector
RiemannSolver(const HyperbolicSystem &hyperbolic_system, const Parameters ¶meters, const PrecomputedVector &precomputed_values)
Number compute_h_star(const primitive_type &riemann_data_i, const primitive_type &riemann_data_j) const
typename View::precomputed_type precomputed_type
typename View::state_type state_type
Number compute(const primitive_type &riemann_data_i, const primitive_type &riemann_data_j) const
Number f(const primitive_type &primitive_state, const Number &h_star) const
static constexpr auto problem_dimension