|
[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 multispecies. More...
#include <multispecies_vortex_advection.h>
Public Member Functions | |
| MultispeciesVortexAdvection (const Parameters::AllParameters *const parameters_input, const dealii::ParameterHandler ¶meter_handler_input) | |
| Constructor. | |
| int | run_test () const override |
Public Member Functions inherited from PHiLiP::Tests::TestsBase | |
| 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. | |
| bool | high_temp |
| Flag to determine which exact solution is used. | |
Public Attributes inherited from PHiLiP::Tests::TestsBase | |
| const Parameters::AllParameters *const | all_parameters |
| Pointer to all parameters. | |
Private Member Functions | |
| std::array< std::array< double, 3 >, nstate+1 > | calculate_l_n_error (std::shared_ptr< DGBase< dim, nspecies, double >> flow_solver_dg, const int poly_degree, const double final_time, std::shared_ptr< FlowSolver::FlowSolver< dim, nspecies, nstate >> flow_solver) const |
| Calculate and return the L2 Error. | |
| double | get_time_step (std::shared_ptr< DGBase< dim, nspecies, double >> dg) const |
| Function to compute the initial adaptive time step. | |
Private Attributes | |
| std::shared_ptr< Physics::RealGas< dim, nspecies, nstate, double > > | real_gas_physics |
| Real Gas physics pointer for computing physical quantities. | |
Additional Inherited Members | |
Protected Member Functions inherited from PHiLiP::Tests::TestsBase | |
| 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. | |
Protected Attributes inherited from PHiLiP::Tests::TestsBase | |
| 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 multispecies.
Definition at line 17 of file multispecies_vortex_advection.h.
|
overridevirtual |
Runs an order of accuracy convergence test Passes if the expected order is reached. Expected order can be set in the prm file
Implements PHiLiP::Tests::TestsBase.
Definition at line 155 of file multispecies_vortex_advection.cpp.