1 #ifndef __BOUND_PRESERVING_LIMITER_TESTS_H__ 2 #define __BOUND_PRESERVING_LIMITER_TESTS_H__ 5 #include "dg/dg_base.hpp" 6 #include "parameters/all_parameters.h" 15 template <
int dim,
int nstate>
21 const dealii::ParameterHandler& parameter_handler_input);
40 const dealii::Tensor<1, 3, double> adv_speeds,
41 double final_time)
const;
double calculate_l2error(std::shared_ptr< DGBase< dim, double >> flow_solver_dg, const int poly_degree, const double final_time) const
Calculate and return the L2 Error.
Class used to run tests that verify implementation of bound preserving limiters.
const dealii::ParameterHandler & parameter_handler
Parameter handler for storing the .prm file being ran.
Files for the baseline physics.
int run_convergence_test() const
Runs convergence test and prints out results in console.
Main parameter class that contains the various other sub-parameter classes.
BoundPreservingLimiterTests(const Parameters::AllParameters *const parameters_input, const dealii::ParameterHandler ¶meter_handler_input)
Constructor.
int run_full_limiter_test() const
Runs full test and outputs VTK files.
double calculate_uexact(const dealii::Point< dim > qpoint, const dealii::Tensor< 1, 3, double > adv_speeds, double final_time) const
Calculate and return the exact value at the point depending on the case being run.
DGBase is independent of the number of state variables.
int run_test() const override
Base class of all the tests.