20 "level",
MooseEnum(
"h p"),
"The type of adaptivity level to compute.");
29 paramError(
"variable",
"Must be of type CONSTANT MONOMIAL");
registerMooseObject("MooseApp", ElementAdaptivityLevelAux)
const Elem *const & _current_elem
Current element (valid only for elemental kernels)
static InputParameters validParams()
An aux kernel object which stores the element level in terms of adaptivity in an auxiliary variable.
ElementAdaptivityLevelAux(const InputParameters ¶meters)
enum ElementAdaptivityLevelAux::LevelType _level_type
virtual Real computeValue() override
Compute and return the value of the aux variable.
static InputParameters validParams()
void paramError(const std::string ¶m, Args... args) const
Emits an error prefixed with the file and line number of the given param (from the input file) along ...
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
MooseVariableBase * mooseVariableBase() const
Get the variable that this object is using.