25 "A buffer zone value added to both ends of the range " 26 "where a third_state marker can be returned.");
28 params.
addClassDescription(
"Mark elements for adaptivity based on the supplied upper and lower " 29 "bounds and the specified variable.");
35 _lower_bound(parameters.
get<
Real>(
"lower_bound")),
36 _upper_bound(parameters.
get<
Real>(
"upper_bound")),
37 _buffer_size(parameters.
get<
Real>(
"buffer_size")),
38 _inside(getParam<bool>(
"invert") ? COARSEN : REFINE),
39 _outside(getParam<bool>(
"invert") ? REFINE : COARSEN)
42 mooseError(
"Invalid bounds specified (upper_bound < lower_bound)");
const VariableValue & _u
Holds the solution at current quadrature points.
T * get(const std::unique_ptr< T > &u)
The MooseUtils::get() specializations are used to support making forwards-compatible code changes fro...
MarkerValue
This mirrors the main refinement flag values in libMesh in Elem::RefinementState but adds "dont_mark"...
unsigned int _qp
The current quadrature point.
static InputParameters validParams()
static InputParameters validParams()
ValueRangeMarker(const InputParameters ¶meters)
virtual MarkerValue computeQpMarker() override
Override this to compute a marker value at each quadrature point.
registerMooseObject("MooseApp", ValueRangeMarker)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
MarkerValue _third_state
The behavior to use when "in-between" other states (what to do on the fringe)