1 #ifndef __RRK_NUMERICAL_ENTROPY_CONSERVATION_CHECK__ 2 #define __RRK_NUMERICAL_ENTROPY_CONSERVATION_CHECK__ 4 #include <deal.II/base/convergence_table.h> 6 #include "dg/dg_base.hpp" 8 #include "flow_solver/flow_solver.h" 14 template <
int dim,
int nstate>
21 const dealii::ParameterHandler ¶meter_handler_input);
36 const double initial_numerical_entropy,
37 const double final_time_actual,
38 bool expect_conservation
44 const double numerical_entropy_initial,
45 bool expect_conservation
Selects which flow case to simulate.
Files for the baseline physics.
int run_test() const override
Run test.
const dealii::ParameterHandler & parameter_handler
Parameter handler for storing the .prm file being ran.
Main parameter class that contains the various other sub-parameter classes.
int compare_numerical_entropy_to_initial(const std::unique_ptr< FlowSolver::FlowSolver< dim, nstate >> &flow_solver, const double initial_numerical_entropy, const double final_time_actual, bool expect_conservation) const
Compare the numerical_entropy after flow simulation to initial, and return test fail int...
int get_numerical_entropy_and_compare_to_initial(const Parameters::AllParameters params, const double numerical_entropy_initial, bool expect_conservation) const
runs flow solver. Returns 0 (pass) or 1 (fail) based on numerical_entropy conservation of calculation...
RRKNumericalEntropyConservationCheck(const Parameters::AllParameters *const parameters_input, const dealii::ParameterHandler ¶meter_handler_input)
Constructor.
Parameters::AllParameters reinit_params(bool use_rrk, double time_step_size) const
Reinitialize parameters. Necessary because all_parameters is constant.
Verify numerical_entropy conservation for inviscid Burgers using split form and RRK.
Base class of all the tests.