1 #ifndef __BURGERS_STEADYSHOCK_H__ 2 #define __BURGERS_STEADYSHOCK_H__ 4 #include "dg/dg_base.hpp" 5 #include "parameters/all_parameters.h" 6 #include "physics/physics.h" 13 template <
int dim,
int nstate>
40 const std::string &filename)
const;
44 static dealii::Point<dim>
warp (
const dealii::Point<dim> &p);
Performs grid convergence for various polynomial degrees.
Shock1D()=delete
Constructor. Deleted the default constructor since it should not be used.
void initialize_perturbed_solution(DGBase< dim, double > &dg, const Physics::PhysicsBase< dim, nstate, double > &physics) const
Initialize the solution with the exact solution.
Files for the baseline physics.
Main parameter class that contains the various other sub-parameter classes.
void print_mesh_info(const dealii::Triangulation< dim > &triangulation, const std::string &filename) const
Prints our mesh info and generates eps file if 2D grid.
int run_test() const
Manufactured grid convergence.
double integrate_solution_over_domain(DGBase< dim, double > &dg) const
L2-Integral of the solution over the entire domain.
DGBase is independent of the number of state variables.
Base class of all the tests.
static dealii::Point< dim > warp(const dealii::Point< dim > &p)
Warps mesh into sinusoidal.