21 "method",
MooseEnum(
"min max"),
"The size calculation to perform ('min' or 'max').");
23 "Compute the element size using Elem::hmin() or Elem::hmax() from libMesh.");
31 paramError(
"variable",
"This AuxKernel only supports Elemental fields");
ElementLengthAux(const InputParameters ¶meters)
virtual Real computeValue() override
Returns the min/max of the current element.
registerMooseObject("MooseApp", ElementLengthAux)
static InputParameters validParams()
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
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 ...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Elem *const & _current_elem
Current element (valid only for elemental kernels)
static InputParameters validParams()
const bool _use_min
The type of calculation to perform min or max.
Computes the min or max of element length.
bool isNodal() const
Nodal or elemental kernel?