[P]arallel [Hi]gh-order [Li]brary for [P]DEs
Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
|
Performs grid convergence for various polynomial degrees. More...
#include <euler_gaussian_bump.h>
Public Member Functions | |
EulerGaussianBump ()=delete | |
Constructor. Deleted the default constructor since it should not be used. | |
EulerGaussianBump (const Parameters::AllParameters *const parameters_input, const dealii::ParameterHandler ¶meter_handler_input) | |
Constructor. More... | |
double | run_euler_gaussian_bump () const |
Returns either the order of convergence or enthalpy, depending on the test type. | |
int | run_test () const |
Grid convergence on Euler Gaussian Bump. More... | |
![]() | |
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. | |
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... | |
Performs grid convergence for various polynomial degrees.
Definition at line 12 of file euler_gaussian_bump.h.
PHiLiP::Tests::EulerGaussianBump< dim, nstate >::EulerGaussianBump | ( | const Parameters::AllParameters *const | parameters_input, |
const dealii::ParameterHandler & | parameter_handler_input | ||
) |
Constructor.
Simply calls the TestsBase constructor to set its parameters = parameters_input
Definition at line 19 of file euler_gaussian_bump.cpp.
|
virtual |
Grid convergence on Euler Gaussian Bump.
Will run the a grid convergence test for various p on multiple grids to determine the order of convergence.
Expecting the solution to converge at p+1. and output to converge at 2p+1. Note that the output solution currently convergens slightly suboptimally depending on the case (around 2p). The implementation of the boundary conditions play a large role on this adjoint consistency.
Want to see entropy/enthalpy go to 0.
Implements PHiLiP::Tests::TestsBase.
Definition at line 29 of file euler_gaussian_bump.cpp.