1 #ifndef __GRID_STUDY_H__     2 #define __GRID_STUDY_H__     4 #include <deal.II/base/convergence_table.h>     6 #include "dg/dg_base.hpp"     7 #include "parameters/all_parameters.h"     8 #include "physics/physics.h"    15 template <
int dim, 
int nstate>
    42                          const std::string &filename) 
const;
    46     static dealii::Point<dim> 
warp (
const dealii::Point<dim> &p);
    63         const std::string error_filename_baseline, 
    64         const dealii::ConvergenceTable convergence_table,
    65         const unsigned int poly_degree) 
const;
 std::string get_convergence_tables_baseline_filename(const Parameters::AllParameters *const parameters_input) const
Returns the baseline filename for outputted convergence tables. 
double integrate_solution_over_domain(DGBase< dim, double > &dg) const
L2-Integral of the solution over the entire domain. 
Performs grid convergence for various polynomial degrees. 
int run_test() const
Manufactured grid convergence. 
Files for the baseline physics. 
Main parameter class that contains the various other sub-parameter classes. 
void write_convergence_table_to_output_file(const std::string error_filename_baseline, const dealii::ConvergenceTable convergence_table, const unsigned int poly_degree) const
Writes the convergence table output file. 
GridStudy()=delete
Constructor. Deleted the default constructor since it should not be used. 
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. 
void initialize_perturbed_solution(DGBase< dim, double > &dg, const Physics::PhysicsBase< dim, nstate, double > &physics) const
Initialize the solution with the exact solution. 
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.