4 #include "parameters/all_parameters.h" 6 #include <deal.II/grid/tria.h> 7 #include <deal.II/base/conditional_ostream.h> 8 #include <deal.II/base/parameter_handler.h> 45 dealii::ConditionalOStream
pcout;
70 template<
int dim,
int nstate,
typename MeshType = dealii::Triangulation<dim>>
82 static std::unique_ptr< TestsBase > create_test(
84 dealii::ParameterHandler ¶meter_handler_input);
90 static std::unique_ptr< TestsBase > select_mesh(
92 dealii::ParameterHandler ¶meter_handler_input);
98 static std::unique_ptr< TestsBase > select_test(
100 dealii::ParameterHandler ¶meter_handler_input);
virtual int run_test() const =0
Basically the main and only function of this class.
virtual ~TestsBase()=default
Destructor.
const MPI_Comm mpi_communicator
MPI communicator.
Test factory, that will create the correct test with the right template parameters.
Files for the baseline physics.
TestsBase()=delete
Constructor. Deleted the default constructor since it should not be used.
Main parameter class that contains the various other sub-parameter classes.
const Parameters::AllParameters *const all_parameters
Pointer to all parameters.
std::string get_conv_num_flux_string(const Parameters::AllParameters *const param) const
Returns a string describing which convective numerical flux is being used.
const int mpi_rank
MPI rank.
std::string get_pde_string(const Parameters::AllParameters *const param) const
Returns a string describing which PDE is being used.
std::string get_diss_num_flux_string(const Parameters::AllParameters *const param) const
Returns a string describing which dissipative numerical flux is being used.
std::string get_manufactured_solution_string(const Parameters::AllParameters *const param) const
Returns a string describing which manufactured solution is being used.
dealii::ConditionalOStream pcout
ConditionalOStream.
std::vector< int > get_number_1d_cells(const int ngrids) const
Evaluates the number of cells to generate the grids for 1D grid based on input file.
Base class of all the tests.