25 paramError(
"variable",
"Must be of type CONSTANT MONOMIAL");
registerMooseObject("MooseApp", VolumeAux)
const bool _bnd
true if the kernel is boundary kernel, false if it is interior kernels
const Real & _current_elem_volume
Volume of the current element.
const Real & _current_side_volume
Volume of the current side.
MooseVariableField< Real > & _var
This is a regular kernel so we cast to a regular MooseVariable, hides base _var.
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 ...
virtual void setDofValue(const DofValue &value, unsigned int index)=0
Degree of freedom value setters.
MooseVariableBase * mooseVariableBase() const
Get the variable that this object is using.
AuxKernel that samples element volumes.
static InputParameters validParams()
Real computeValue() override final
Compute and return the value of the aux variable.
void compute() override final
Computes the value and stores it in the solution vector.
VolumeAux(const InputParameters ¶meters)