GRINS-0.8.0
|
Container for mesh adaptivity options. More...
#include <mesh_adaptivity_options.h>
Public Member Functions | |
MeshAdaptivityOptions (const GetPot &input) | |
~MeshAdaptivityOptions () | |
bool | is_mesh_adaptive () const |
const std::string & | refinement_strategy () const |
unsigned int | max_refinement_steps () const |
bool | coarsen_by_parents () const |
libMesh::Real | absolute_global_tolerance () const |
unsigned int | nelem_target () const |
libMesh::Real | refine_fraction () const |
libMesh::Real | coarsen_fraction () const |
libMesh::Real | coarsen_threshold () const |
bool | plot_cell_errors () const |
const std::string & | error_plot_prefix () const |
unsigned int | node_level_mismatch_limit () const |
unsigned int | edge_level_mismatch_limit () const |
unsigned int | face_level_mismatch_limit () const |
bool | enforce_mismatch_limit_prior_to_refinement () const |
unsigned int | max_h_level () const |
Private Member Functions | |
void | check_dup_input_style (const GetPot &input) const |
bool | is_old_style (const GetPot &input) const |
void | parse_old_style (const GetPot &input) |
void | parse_new_style (const GetPot &input) |
void | parse_options (const GetPot &input, const std::string §ion) |
Private Attributes | |
bool | _is_mesh_adaptive |
std::string | _refinement_strategy |
unsigned int | _max_refinement_steps |
bool | _coarsen_by_parents |
libMesh::Real | _absolute_global_tolerance |
unsigned int | _nelem_target |
libMesh::Real | _refine_fraction |
libMesh::Real | _coarsen_fraction |
libMesh::Real | _coarsen_threshold |
bool | _plot_cell_errors |
std::string | _error_plot_prefix |
unsigned int | _node_level_mismatch_limit |
unsigned int | _edge_level_mismatch_limit |
unsigned int | _face_level_mismatch_limit |
bool | _enforce_mismatch_limit_prior_to_refinement |
unsigned int | _max_h_level |
Container for mesh adaptivity options.
Definition at line 39 of file mesh_adaptivity_options.h.
GRINS::MeshAdaptivityOptions::MeshAdaptivityOptions | ( | const GetPot & | input | ) |
Definition at line 36 of file mesh_adaptivity_options.C.
References check_dup_input_style(), is_old_style(), parse_new_style(), and parse_old_style().
|
inline |
Definition at line 43 of file mesh_adaptivity_options.h.
|
inline |
Definition at line 57 of file mesh_adaptivity_options.h.
References _absolute_global_tolerance.
Referenced by GRINS::MeshAdaptiveSolverBase::build_mesh_refinement(), and GRINS::MeshAdaptiveSolverBase::check_for_convergence().
|
private |
Definition at line 62 of file mesh_adaptivity_options.C.
Referenced by MeshAdaptivityOptions().
|
inline |
Definition at line 54 of file mesh_adaptivity_options.h.
References _coarsen_by_parents.
Referenced by GRINS::MeshAdaptiveSolverBase::build_mesh_refinement().
|
inline |
Definition at line 66 of file mesh_adaptivity_options.h.
References _coarsen_fraction.
Referenced by GRINS::MeshAdaptiveSolverBase::build_mesh_refinement().
|
inline |
Definition at line 69 of file mesh_adaptivity_options.h.
References _coarsen_threshold.
Referenced by GRINS::MeshAdaptiveSolverBase::build_mesh_refinement().
|
inline |
Definition at line 81 of file mesh_adaptivity_options.h.
References _edge_level_mismatch_limit.
Referenced by GRINS::MeshAdaptiveSolverBase::build_mesh_refinement().
|
inline |
Definition at line 87 of file mesh_adaptivity_options.h.
References _enforce_mismatch_limit_prior_to_refinement.
Referenced by GRINS::MeshAdaptiveSolverBase::build_mesh_refinement().
|
inline |
Definition at line 75 of file mesh_adaptivity_options.h.
References _error_plot_prefix.
Referenced by GRINS::MeshAdaptiveSolverBase::estimate_error_for_amr().
|
inline |
Definition at line 84 of file mesh_adaptivity_options.h.
References _face_level_mismatch_limit.
Referenced by GRINS::MeshAdaptiveSolverBase::build_mesh_refinement().
|
inline |
Definition at line 45 of file mesh_adaptivity_options.h.
References _is_mesh_adaptive.
Referenced by GRINS::SolverParsing::solver_type().
|
private |
Definition at line 69 of file mesh_adaptivity_options.C.
Referenced by MeshAdaptivityOptions().
|
inline |
Definition at line 90 of file mesh_adaptivity_options.h.
References _max_h_level.
Referenced by GRINS::MeshAdaptiveSolverBase::build_mesh_refinement().
|
inline |
Definition at line 51 of file mesh_adaptivity_options.h.
References _max_refinement_steps.
Referenced by GRINS::SteadyMeshAdaptiveSolver::solve(), and GRINS::UnsteadyMeshAdaptiveSolver::solve().
|
inline |
Definition at line 60 of file mesh_adaptivity_options.h.
References _nelem_target.
Referenced by GRINS::MeshAdaptiveSolverBase::build_mesh_refinement().
|
inline |
Definition at line 78 of file mesh_adaptivity_options.h.
References _node_level_mismatch_limit.
Referenced by GRINS::MeshAdaptiveSolverBase::build_mesh_refinement().
|
private |
Definition at line 87 of file mesh_adaptivity_options.C.
References parse_options().
Referenced by MeshAdaptivityOptions().
|
private |
Definition at line 74 of file mesh_adaptivity_options.C.
References grins_warning, and parse_options().
Referenced by MeshAdaptivityOptions().
|
private |
Definition at line 93 of file mesh_adaptivity_options.C.
References _absolute_global_tolerance, _coarsen_by_parents, _coarsen_fraction, _coarsen_threshold, _edge_level_mismatch_limit, _enforce_mismatch_limit_prior_to_refinement, _error_plot_prefix, _face_level_mismatch_limit, _is_mesh_adaptive, _max_h_level, _max_refinement_steps, _nelem_target, _node_level_mismatch_limit, _plot_cell_errors, _refine_fraction, and _refinement_strategy.
Referenced by parse_new_style(), and parse_old_style().
|
inline |
Definition at line 72 of file mesh_adaptivity_options.h.
References _plot_cell_errors.
Referenced by GRINS::MeshAdaptiveSolverBase::estimate_error_for_amr().
|
inline |
Definition at line 63 of file mesh_adaptivity_options.h.
References _refine_fraction.
Referenced by GRINS::MeshAdaptiveSolverBase::build_mesh_refinement().
|
inline |
Definition at line 48 of file mesh_adaptivity_options.h.
References _refinement_strategy.
Referenced by GRINS::MeshAdaptiveSolverBase::set_refinement_type().
|
private |
Definition at line 109 of file mesh_adaptivity_options.h.
Referenced by absolute_global_tolerance(), and parse_options().
|
private |
Definition at line 108 of file mesh_adaptivity_options.h.
Referenced by coarsen_by_parents(), and parse_options().
|
private |
Definition at line 112 of file mesh_adaptivity_options.h.
Referenced by coarsen_fraction(), and parse_options().
|
private |
Definition at line 113 of file mesh_adaptivity_options.h.
Referenced by coarsen_threshold(), and parse_options().
|
private |
Definition at line 118 of file mesh_adaptivity_options.h.
Referenced by edge_level_mismatch_limit(), and parse_options().
|
private |
Definition at line 120 of file mesh_adaptivity_options.h.
Referenced by enforce_mismatch_limit_prior_to_refinement(), and parse_options().
|
private |
Definition at line 115 of file mesh_adaptivity_options.h.
Referenced by error_plot_prefix(), and parse_options().
|
private |
Definition at line 119 of file mesh_adaptivity_options.h.
Referenced by face_level_mismatch_limit(), and parse_options().
|
private |
Definition at line 105 of file mesh_adaptivity_options.h.
Referenced by is_mesh_adaptive(), and parse_options().
|
private |
Definition at line 122 of file mesh_adaptivity_options.h.
Referenced by max_h_level(), and parse_options().
|
private |
Definition at line 107 of file mesh_adaptivity_options.h.
Referenced by max_refinement_steps(), and parse_options().
|
private |
Definition at line 110 of file mesh_adaptivity_options.h.
Referenced by nelem_target(), and parse_options().
|
private |
Definition at line 117 of file mesh_adaptivity_options.h.
Referenced by node_level_mismatch_limit(), and parse_options().
|
private |
Definition at line 114 of file mesh_adaptivity_options.h.
Referenced by parse_options(), and plot_cell_errors().
|
private |
Definition at line 111 of file mesh_adaptivity_options.h.
Referenced by parse_options(), and refine_fraction().
|
private |
Definition at line 106 of file mesh_adaptivity_options.h.
Referenced by parse_options(), and refinement_strategy().