12 #include "libmesh/error_vector.h" 20 params.
addParam<
Real>(
"coarsen", 0,
"Elements with error less than this will be coarsened.");
23 "Elements with error more than this will be refined.");
24 params.
addClassDescription(
"Coarsen or refine elements based on an absolute tolerance allowed " 25 "from the supplied indicator.");
31 _coarsen(parameters.
get<
Real>(
"coarsen")),
32 _refine(parameters.
get<
Real>(
"refine"))
static InputParameters validParams()
T * get(const std::unique_ptr< T > &u)
The MooseUtils::get() specializations are used to support making forwards-compatible code changes fro...
const Elem *const & _current_elem
Pointer to the current element being considered in the marker element-based loop. ...
MarkerValue
This mirrors the main refinement flag values in libMesh in Elem::RefinementState but adds "dont_mark"...
registerMooseObject("MooseApp", ErrorToleranceMarker)
virtual MarkerValue computeElementMarker() override
auto max(const L &left, const R &right)
ErrorToleranceMarker(const InputParameters ¶meters)
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
ErrorVector & _error_vector