1 #ifndef __PARAMETERS_GRID_REFINEMENT_STUDY_H__ 2 #define __PARAMETERS_GRID_REFINEMENT_STUDY_H__ 6 #include <deal.II/base/parameter_handler.h> 8 #include "parameters/parameters_functional.h" 9 #include "parameters/parameters_grid_refinement.h" 10 #include "parameters/parameters_manufactured_solution.h" 11 #include "parameters/parameters_manufactured_convergence_study.h" 12 #include "parameters/parameters.h" 16 namespace Parameters {
105 #endif // __PARAMETERS_GRID_REFINEMENT_STUDY_H__ bool output_gnuplot_functional
Flag to enable output of gnuplot graph of functional error convergence.
bool refresh_gnuplot
Flag to enable gnuplot refresh between iteration runs.
unsigned int poly_degree_grid
Initial grid polynomial degree.
GridEnum grid_type
Grid type selection.
void parse_parameters(dealii::ParameterHandler &prm)
Parses input file and sets the variables.
bool use_interpolation
Flag to enable interpolation operation.
static const unsigned int MAX_REFINEMENTS
Maximum number of different refinement procedures.
Parameters related to the manufactured convergence study.
unsigned int num_refinements
Number of different refinement procedures stored, 0 indicates to use the default pathway.
Files for the baseline physics.
bool output_solution_time
Flag to enable output of grid refinement wall-clock solution time.
ManufacturedSolutionParam manufactured_solution_param
Manufactured solution parameterse to be used with grid refinement study.
std::array< GridRefinementParam, MAX_REFINEMENTS > grid_refinement_param_vector
Array of grid refinement parameters to be run as part of grid refinement study.
unsigned int poly_degree_max
Maximimum allocated solution polynomial degree.
bool approximate_functional
Flag to enable approximation of the functional value on a fine grid before refinement run...
static void declare_parameters(dealii::ParameterHandler &prm)
Declares the possible variables and sets the defaults.
std::string input_grid
Input pathway for GridEnum::read_grid type.
bool output_solution_error
Flag to enable output of grid refinement solution error convergence.
bool output_gnuplot_solution
Flag to enable output of gnuplot graph of solution error convergence.
bool output_vtk
Flag to enable output of grid refinement .vtk file.
FunctionalParam functional_param
Functional parameters to be used with grid refinement study.
Parameterse related to the functional object.
Parameters related to collection of grid refinement runs.
double functional_value
Specified exact functional value for comparison of error convergence.
bool output_functional_error
Flag to enable output of grid refinement functional error convergence.
unsigned int grid_size
Number of initial elements in each axis for GridEnum::hypercube type.
double grid_left
Lower coordinate bound for GridEnum::hypercube type.
bool output_adjoint_time
Flag to enable output of grid refinement wall-clock adjoint time.
unsigned int poly_degree
Initial solution polynomial degree.
double grid_right
Upper coordinate bound for GridEnum::hypercube type.
GridEnum
Types of grids that can be used for convergence study.
bool output_adjoint_vtk
Flag to enable output of adjoint .vtk file.