[P]arallel [Hi]gh-order [Li]brary for [P]DEs  Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
PHiLiP::Parameters::GridRefinementParam Class Reference

Parameters related to individual grid refinement run. More...

#include <parameters_grid_refinement.h>

Collaboration diagram for PHiLiP::Parameters::GridRefinementParam:

Public Types

enum  RefinementMethod { uniform, fixed_fraction, continuous }
 Controls the underlying method of refinement.
 
enum  RefinementType { h, p, hp }
 Controls the type of refinement to be performed.
 
enum  AnisoIndicator { jump_based, reconstruction_based }
 Control of anisotropic splitting indicator to be used in fixed-fraction methods.
 
enum  ErrorIndicator { error_based, hessian_based, residual_based, adjoint_based }
 Types of error indicator to be used in the grid refinement.
 
enum  OutputType { gmsh_out, msh_out }
 File type/interface to be used for access to external tools.
 
enum  OutputDataType { size_field, frame_field, metric_field }
 Method of data storage in the output file for continuous methods.
 

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

unsigned int refinement_steps
 Number of refinement steps to be performed.
 
RefinementMethod refinement_method
 Selected method of refinement.
 
RefinementType refinement_type
 Selected type of refinement to be performed.
 
bool anisotropic
 Flag for performing anisotropic refinement. More...
 
double anisotropic_ratio_max
 Maximum anisotropic ratio for continuous size field targets.
 
double anisotropic_ratio_min
 Minimum anisotropic ratio for continuous zie field targets.
 
double anisotropic_threshold_ratio
 threshold value in anisotropic indicator to enable anisotropic splitting More...
 
AnisoIndicator anisotropic_indicator
 Selected anisotropic splitting indicator.
 
ErrorIndicator error_indicator
 Selected error indicator type.
 
OutputType output_type
 Selected file output type.
 
OutputDataType output_data_type
 Selected data storage type.
 
double norm_Lq
 Lq norm exponent selection.
 
double refinement_fraction
 refinement fraction for fixed-fraction methods
 
double coarsening_fraction
 coarsening fraction for fixed-fraction methods
 
double r_max
 refinement factor for log DWR size field
 
double c_max
 coarsening factor for log DWR size field
 
double complexity_scale
 multiplier to complexity between grid refinement iterations
 
double complexity_add
 additive constant to complexity between grid refinement iterations
 
std::vector< double > complexity_vector
 Vector of complexities to be used for initial continuous grid refinement iterations. More...
 
bool exit_after_refine
 Flag to exit after call to refinement.
 

Detailed Description

Parameters related to individual grid refinement run.

Definition at line 12 of file parameters_grid_refinement.h.

Member Data Documentation

◆ anisotropic

bool PHiLiP::Parameters::GridRefinementParam::anisotropic

Flag for performing anisotropic refinement.

Note: only availible for some fixed-fraction and continuous method cases. Also not availible for certain mesh types.

Definition at line 42 of file parameters_grid_refinement.h.

◆ anisotropic_threshold_ratio

double PHiLiP::Parameters::GridRefinementParam::anisotropic_threshold_ratio

threshold value in anisotropic indicator to enable anisotropic splitting

Note: used only for fixed-fraction anisotropic splitting methods if allowed by mesh type.

Definition at line 53 of file parameters_grid_refinement.h.

◆ complexity_vector

std::vector<double> PHiLiP::Parameters::GridRefinementParam::complexity_vector

Vector of complexities to be used for initial continuous grid refinement iterations.

Note: growth will resort to complexity_scale and complexity_add controls if the initial vector set is exceeded by refinement_steps.

Definition at line 109 of file parameters_grid_refinement.h.


The documentation for this class was generated from the following files: