31 #include "libmesh/getpot.h" 
   32 #include "libmesh/string_to_enum.h" 
   37     : _is_mesh_adaptive(false),
 
   38       _refinement_strategy(
"elem_fraction"),
 
   39       _max_refinement_steps(0),
 
   40       _coarsen_by_parents(true),
 
   41       _absolute_global_tolerance(0),
 
   43       _refine_fraction(0.2),
 
   44       _coarsen_fraction(0.2),
 
   45       _coarsen_threshold(0),
 
   46       _plot_cell_errors(false),
 
   47       _error_plot_prefix(
"cell_error"),
 
   48       _node_level_mismatch_limit(0),
 
   49       _edge_level_mismatch_limit(0),
 
   50       _face_level_mismatch_limit(1),
 
   51       _enforce_mismatch_limit_prior_to_refinement(false),
 
   52       _max_h_level(
libMesh::invalid_uint)
 
   64     if( input.have_variable(
"MeshAdaptivity") &&
 
   65         input.have_section(
"Strategies/MeshAdaptivity") )
 
   66       libmesh_error_msg(
"ERROR: Cannot use both old and new style of options for MeshAdaptivityOptions!");
 
   71     return input.have_section(
"MeshAdaptivity");
 
   77       std::string warning = 
"WARNING: Using [MeshAdaptivity/<options>] is a DEPRECATED\n";
 
   78       warning += 
"         style of input for mesh adaptivity options. Please\n";
 
   79       warning += 
"         update to use the [Strategies/MeshAdaptivity/<options> style.\n";
 
   83     std::string section = 
"MeshAdaptivity";
 
   89     std::string section = 
"Strategies/MeshAdaptivity";
 
  110     _max_h_level = input(section+
"/max_h_level",libMesh::invalid_uint);
 
unsigned int _node_level_mismatch_limit
 
libMesh::Real _coarsen_fraction
 
libMesh::Real _absolute_global_tolerance
 
std::string _refinement_strategy
 
void parse_new_style(const GetPot &input)
 
unsigned int _max_h_level
 
std::string _error_plot_prefix
 
#define grins_warning(message)
 
libMesh::Real _coarsen_threshold
 
unsigned int _nelem_target
 
void parse_options(const GetPot &input, const std::string §ion)
 
unsigned int _face_level_mismatch_limit
 
unsigned int _edge_level_mismatch_limit
 
unsigned int _max_refinement_steps
 
void parse_old_style(const GetPot &input)
 
bool is_old_style(const GetPot &input) const 
 
libMesh::Real _refine_fraction
 
void check_dup_input_style(const GetPot &input) const 
 
bool _enforce_mismatch_limit_prior_to_refinement
 
MeshAdaptivityOptions(const GetPot &input)