[P]arallel [Hi]gh-order [Li]brary for [P]DEs
Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
|
Parameters related to the manufactured convergence study. More...
#include <parameters_manufactured_convergence_study.h>
Public Types | |
enum | GridEnum { hypercube, sinehypercube, read_grid } |
Types of grids that can be used for convergence study. More... | |
Public Member Functions | |
void | parse_parameters (dealii::ParameterHandler &prm) |
Parses input file and sets the variables. | |
Static Public Member Functions | |
static void | declare_parameters (dealii::ParameterHandler &prm) |
Declares the possible variables and sets the defaults. | |
Public Attributes | |
ManufacturedSolutionParam | manufactured_solution_param |
Associated manufactured solution parameters. | |
GridEnum | grid_type |
Grid type. | |
std::string | input_grids |
Name of the input grids if read_grid. More... | |
double | random_distortion |
Will randomly distort mesh except on boundaries. More... | |
bool | output_meshes |
Output the meshes as in a Gmsh format. | |
unsigned int | degree_start |
First polynomial degree to start the loop. If diffusion, must be at least 1. | |
unsigned int | degree_end |
Last polynomial degree to loop. | |
unsigned int | initial_grid_size |
unsigned int | number_of_grids |
Number of grid in the grid study. More... | |
double | grid_progression |
Multiplies the last grid size by this amount. More... | |
int | grid_progression_add |
Adds number of cells to 1D grid. More... | |
double | slope_deficit_tolerance |
Tolerance within which the convergence orders are considered to be optimal. | |
bool | output_convergence_tables |
Output the convergence tables (for each p) as txt files; currently only works for tests using grid_study.cpp. | |
bool | output_solution |
Output the solution files (for each p and grid) as vtu and pvtu files; currently only works for tests using grid_study.cpp. | |
bool | add_statewise_solution_error_to_convergence_tables |
Adds the statewise solution L2 error to the convergence tables; currently only works for tests using grid_study.cpp. | |
Parameters related to the manufactured convergence study.
Definition at line 13 of file parameters_manufactured_convergence_study.h.
Types of grids that can be used for convergence study.
Hypercube is simply a square from 0,1 in multiple dimensions. Sinehypercube will take that hypercube and transform it into a sinoisidal pattern read_grid takes in a set of grids from Gmsh
Definition at line 24 of file parameters_manufactured_convergence_study.h.
double PHiLiP::Parameters::ManufacturedConvergenceStudyParam::grid_progression |
Multiplies the last grid size by this amount.
Note that this is the grid progression in 1 dimension. ith-grid will be of size (initial_grid*(i*grid_progression)+(i*grid_progression_add))^dim")
Definition at line 52 of file parameters_manufactured_convergence_study.h.
int PHiLiP::Parameters::ManufacturedConvergenceStudyParam::grid_progression_add |
Adds number of cells to 1D grid.
Note that this is the grid progression in 1 dimension. ith-grid will be of size (initial_grid*(i*grid_progression)+(i*grid_progression_add))^dim")
Definition at line 58 of file parameters_manufactured_convergence_study.h.
unsigned int PHiLiP::Parameters::ManufacturedConvergenceStudyParam::initial_grid_size |
Initial grid size.
Definition at line 43 of file parameters_manufactured_convergence_study.h.
std::string PHiLiP::Parameters::ManufacturedConvergenceStudyParam::input_grids |
Name of the input grids if read_grid.
input_grids-XX.msh, where XX represents the grid number
Definition at line 32 of file parameters_manufactured_convergence_study.h.
unsigned int PHiLiP::Parameters::ManufacturedConvergenceStudyParam::number_of_grids |
Number of grid in the grid study.
Note that for p=0, it will use number_of_grids+2 because for p=0, we need more grids to observe the p+1 convergence
Definition at line 47 of file parameters_manufactured_convergence_study.h.
double PHiLiP::Parameters::ManufacturedConvergenceStudyParam::random_distortion |
Will randomly distort mesh except on boundaries.
Useful sanity check to make sure some errors don't cancel out.
Definition at line 37 of file parameters_manufactured_convergence_study.h.