8#include <compile_time_options.h>
16#include <deal.II/base/parameter_acceptor.h>
17#include <deal.II/base/timer.h>
18#include <deal.II/lac/sparse_matrix.templates.h>
19#include <deal.II/lac/vector.h>
71 template <
typename Description,
int dim,
typename Number =
double>
98 View::n_precomputation_cycles;
110 const MPI_Comm &mpi_communicator,
111 std::map<std::string, dealii::Timer> &computing_timer,
115 const std::string &subsection =
"/HyperbolicModule");
214 template <
int stages>
217 std::array<std::reference_wrapper<const StateVector>, stages>
219 const std::array<Number, stages> stage_weights,
221 Number tau = Number(0.),
222 std::atomic<Number> tau_max = std::numeric_limits<Number>::max())
const;
231 void cfl(Number new_cfl)
const
233 Assert(cfl_ > Number(0.), dealii::ExcInternalError());
286 indicator_parameters_;
292 riemann_solver_parameters_;
302 const MPI_Comm &mpi_communicator_;
303 std::map<std::
string, dealii::Timer> &computing_timer_;
305 dealii::SmartPointer<const
OfflineData<dim, Number>> offline_data_;
312 mutable
unsigned int n_restarts_;
314 mutable
unsigned int n_warnings_;
318 using ScalarVector = typename Vectors::ScalarVector<Number>;
319 mutable ScalarVector alpha_;
321 static constexpr auto n_bounds =
323 mutable Vectors::MultiComponentVector<Number, n_bounds> bounds_;
auto & hyperbolic_system() const
static constexpr auto problem_dimension
typename View::initial_precomputed_type initial_precomputed_type
static constexpr auto n_precomputation_cycles
typename Description::HyperbolicSystem HyperbolicSystem
typename View::StateVector StateVector
HyperbolicModule(const MPI_Comm &mpi_communicator, std::map< std::string, dealii::Timer > &computing_timer, const OfflineData< dim, Number > &offline_data, const HyperbolicSystem &hyperbolic_system, const InitialValues< Description, dim, Number > &initial_values, const std::string &subsection="/HyperbolicModule")
typename View::precomputed_type precomputed_type
typename View::state_type state_type
typename Description::template HyperbolicSystemView< dim, Number > View
auto & n_warnings() const
typename View::InitialPrecomputedVector InitialPrecomputedVector
auto & n_restarts() const
Number step(const StateVector &old_state_vector, std::array< std::reference_wrapper< const StateVector >, stages > stage_state_vectors, const std::array< Number, stages > stage_weights, StateVector &new_state_vector, Number tau=Number(0.), std::atomic< Number > tau_max=std::numeric_limits< Number >::max()) const
void cfl(Number new_cfl) const
IDViolationStrategy id_violation_strategy_
auto & initial_precomputed() const
void prepare_state_vector(StateVector &state_vector, Number t) const
auto & offline_data() const
#define ACCESSOR_READ_ONLY(member)
std::tuple< MultiComponentVector< Number, problem_dim >, MultiComponentVector< Number, prec_dim >, BlockVector< Number > > StateVector
Euler::HyperbolicSystem HyperbolicSystem