[P]arallel [Hi]gh-order [Li]brary for [P]DEs
Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
|
h refinement test for the isentropic vortex advection test case. More...
#include <h_refinement_study_isentropic_vortex.h>
Public Member Functions | |
HRefinementStudyIsentropicVortex (const Parameters::AllParameters *const parameters_input, const dealii::ParameterHandler ¶meter_handler_input) | |
Constructor. | |
int | run_test () const override |
Run test. | |
![]() | |
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. | |
Protected Member Functions | |
void | calculate_Lp_error_at_final_time_wrt_function (double &Lp_error_density, double &Lp_error_pressure, std::shared_ptr< DGBase< dim, double >> dg, const Parameters::AllParameters parameters, double final_time, int norm_p) const |
Parameters::AllParameters | reinit_params_and_refine (int refinement) const |
Reinitialize parameters while refining the timestep. Necessary because all_parameters is constant. | |
![]() | |
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 | |
const int | n_calculations |
Number of times to solve for convergence summary. | |
const double | refine_ratio |
Ratio to refine by. | |
![]() | |
const MPI_Comm | mpi_communicator |
MPI communicator. | |
const int | mpi_rank |
MPI rank. | |
const int | n_mpi |
dealii::ConditionalOStream | pcout |
ConditionalOStream. More... | |
h refinement test for the isentropic vortex advection test case.
Definition at line 14 of file h_refinement_study_isentropic_vortex.h.
|
protected |
Calculate Lp error at the final time in the passed parameters norm_p is used to indicate the error order – e.g., norm_p=2 is L2 norm Negative norm_p is used to indicate L_infinity norm
Definition at line 36 of file h_refinement_study_isentropic_vortex.cpp.