[P]arallel [Hi]gh-order [Li]brary for [P]DEs
Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
|
Class used to run tests that verify implementation of bound preserving limiters. More...
#include <bound_preserving_limiter_tests.h>
Public Member Functions | |
BoundPreservingLimiterTests (const Parameters::AllParameters *const parameters_input, const dealii::ParameterHandler ¶meter_handler_input) | |
Constructor. | |
int | run_test () const override |
![]() | |
TestsBase ()=delete | |
Constructor. Deleted the default constructor since it should not be used. | |
TestsBase (const Parameters::AllParameters *const parameters_input) | |
Constructor. More... | |
virtual | ~TestsBase ()=default |
Destructor. | |
Public Attributes | |
const dealii::ParameterHandler & | parameter_handler |
Parameter handler for storing the .prm file being ran. | |
![]() | |
const Parameters::AllParameters *const | all_parameters |
Pointer to all parameters. | |
Private Member Functions | |
int | run_full_limiter_test () const |
Runs full test and outputs VTK files. | |
int | run_convergence_test () const |
Runs convergence test and prints out results in console. | |
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. | |
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. | |
Additional Inherited Members | |
![]() | |
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. More... | |
std::string | get_pde_string (const Parameters::AllParameters *const param) const |
Returns a string describing which PDE is being used. | |
std::string | get_conv_num_flux_string (const Parameters::AllParameters *const param) const |
Returns a string describing which convective numerical flux 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. | |
![]() | |
const MPI_Comm | mpi_communicator |
MPI communicator. | |
const int | mpi_rank |
MPI rank. | |
const int | n_mpi |
dealii::ConditionalOStream | pcout |
ConditionalOStream. More... | |
Class used to run tests that verify implementation of bound preserving limiters.
Definition at line 16 of file bound_preserving_limiter_tests.h.
|
overridevirtual |
Currently passes no matter what. Checks are included within the limiter to ensure that the principle it is meant to preserve is satisfied at each node.
Implements PHiLiP::Tests::TestsBase.
Definition at line 91 of file bound_preserving_limiter_tests.cpp.