22 "The threshold value for coarsening. Elements with variable "
23 "values beyond this will be marked for coarsening.");
25 "The threshold value for refinement. Elements with variable "
26 "values beyond this will be marked for refinement.");
28 "The refinement state based on a threshold value compared to the specified variable.");
34 _coarsen_set(parameters.isParamValid(
"coarsen")),
35 _coarsen(parameters.get<Real>(
"coarsen")),
36 _refine_set(parameters.isParamValid(
"refine")),
37 _refine(parameters.get<Real>(
"refine")),
38 _invert(parameters.get<bool>(
"invert"))
44 mooseError(
"Invalid combination of refine, coarsen, and invert values specified");
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application.
registerMooseObject("MooseApp", ValueThresholdMarker)
MarkerValue
This mirrors the main refinement flag values in libMesh in Elem::RefinementState but adds "dont_mark"...
static InputParameters validParams()
const VariableValue & _u
Holds the solution at current quadrature points.
MarkerValue _third_state
The behavior to use when "in-between" other states (what to do on the fringe)
unsigned int _qp
The current quadrature point.
ValueThresholdMarker(const InputParameters ¶meters)
virtual MarkerValue computeQpMarker() override
Override this to compute a marker value at each quadrature point.
static InputParameters validParams()