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");
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"...
auto max(const L &left, const R &right)
unsigned int _qp
The current quadrature point.
static InputParameters validParams()
const QBase *const & _qrule
The quadrature rule for the system.
VarKindType
Framework-wide stuff.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
QuadraturePointMarker(const InputParameters ¶meters)
void addMooseVariableDependency(MooseVariableFieldBase *var)
Call this function to add the passed in MooseVariableFieldBase as a variable that this object depends...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
An interface for accessing Materials.
const std::set< BoundaryID > EMPTY_BOUNDARY_IDS
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
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...
static InputParameters validParams()
virtual MarkerValue computeQpMarker()=0
Override this to compute a marker value at each quadrature point.