Loading [MathJax]/extensions/tex2jax.js
Go to the documentation of this file.
23 params.
addRequiredParam<Real>(
"lower_bound",
"The lower bound value for the range.");
24 params.
addRequiredParam<Real>(
"upper_bound",
"The upper bound value for the range.");
27 "A buffer zone value added to both ends of the range "
28 "where a third_state marker can be returned.");
30 params.
addClassDescription(
"Mark elements for adaptivity based on the supplied upper and lower "
31 "bounds and the specified variable.");
37 _lower_bound(parameters.get<Real>(
"lower_bound")),
38 _upper_bound(parameters.get<Real>(
"upper_bound")),
39 _buffer_size(parameters.get<Real>(
"buffer_size")),
40 _inside(getParam<bool>(
"invert") ? COARSEN : REFINE),
41 _outside(getParam<bool>(
"invert") ? REFINE : COARSEN)
44 mooseError(
"Invalid bounds specified (upper_bound < lower_bound)");
ValueRangeMarker(const InputParameters ¶meters)
defineLegacyParams(ValueRangeMarker)
void mooseError(Args &&... args) const
unsigned int _qp
The current quadrature point.
const VariableValue & _u
Holds the solution at current quadrature points.
MarkerValue
This mirrors the main refinement flag values in libMesh in Elem::RefinementState but adds "dont_mark"...
static InputParameters validParams()
static InputParameters validParams()
registerMooseObject("MooseApp", ValueRangeMarker)
virtual MarkerValue computeQpMarker() override
Override this to compute a marker value at each quadrature point.
MarkerValue _third_state
The behavior to use when "in-between" other states (what to do on the fringe)