15#include "libmesh/quadrature.h"
22 MooseEnum third_state(
"DONT_MARK=-1 COARSEN DO_NOTHING REFINE",
"DONT_MARK");
26 "The Marker state to apply to values falling in-between the coarsen and refine thresholds.");
30 "If this is true then values _below_ 'refine' will be "
31 "refined and _above_ 'coarsen' will be coarsened.");
33 "The values of this variable will be compared "
34 "to 'refine' and 'coarsen' to see what should "
35 "be done with the element");
44 Moose::VarKindType::VAR_ANY,
45 Moose::VarFieldType::VAR_FIELD_STANDARD),
47 _u(mooseVariableField().sln()),
48 _qrule(_assembly.qRule()),
49 _q_point(_assembly.qPoints()),
65 current_mark = std::max(current_mark, new_mark);
static InputParameters validParams()
MarkerValue
This mirrors the main refinement flag values in libMesh in Elem::RefinementState but adds "dont_mark"...
An interface for accessing Materials.
static InputParameters validParams()
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
void addMooseVariableDependency(MooseVariableFieldBase *var)
Call this function to add the passed in MooseVariableFieldBase as a variable that this object depends...
Interface for objects that need to get values of MooseVariables.
MooseVariableField< Real > & mooseVariableField()
Return the MooseVariableField object that this interface acts on.
virtual MarkerValue computeElementMarker() override
QuadraturePointMarker(const InputParameters ¶meters)
const QBase *const & _qrule
The quadrature rule for the system.
static InputParameters validParams()
virtual MarkerValue computeQpMarker()=0
Override this to compute a marker value at each quadrature point.
unsigned int _qp
The current quadrature point.
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...