| [P]arallel [Hi]gh-order [Li]brary for [P]DEs
    Latest
    Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods | 
Advection time refinement study. More...
#include <time_refinement_study.h>
| Public Member Functions | |
| TimeRefinementStudy (const Parameters::AllParameters *const parameters_input, const dealii::ParameterHandler ¶meter_handler_input) | |
| Constructor. | |
| int | run_test () const override | 
| Run test. | |
|  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. | |
|  Public Attributes inherited from PHiLiP::Tests::TestsBase | |
| const Parameters::AllParameters *const | all_parameters | 
| Pointer to all parameters. | |
| Protected Member Functions | |
| double | calculate_Lp_error_at_final_time_wrt_function (std::shared_ptr< DGBase< dim, double >> dg, const Parameters::AllParameters parameters, double final_time, int norm_p) const | 
| Parameters::AllParameters | reinit_params_and_refine_timestep (int refinement) const | 
| Reinitialize parameters while refining the timestep. Necessary because all_parameters is constant. | |
|  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 | |
| const int | n_time_calculations | 
| Number of times to solve for convergence summary. | |
| const double | refine_ratio | 
| Ratio to refine by. | |
|  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... | |
Advection time refinement study.
Definition at line 14 of file time_refinement_study.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 41 of file time_refinement_study.cpp.