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");
const VariableValue & _u
Holds the solution at current quadrature points.
registerMooseObject("MooseApp", ValueThresholdMarker)
T * get(const std::unique_ptr< T > &u)
The MooseUtils::get() specializations are used to support making forwards-compatible code changes fro...
virtual MarkerValue computeQpMarker() override
Override this to compute a marker value at each quadrature point.
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()
ValueThresholdMarker(const InputParameters ¶meters)
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)