19 params.
addClassDescription(
"Auxiliary Kernel that adds a forcing function to the value of an "
20 "AuxVariable from the previous time step.");
28 paramError(
"variable",
"The variable must be elemental");
registerMooseObject("MooseApp", ForcingFunctionAux)
bool isNodal() const
Nodal or elemental kernel?
const MooseArray< Point > & _q_point
Active quadrature points.
unsigned int _qp
Quadrature point index.
Add a forcing function to the previous time step value of an AuxVariable.
static InputParameters validParams()
ForcingFunctionAux(const InputParameters ¶meters)
virtual Real computeValue() override
Compute and return the value of the aux variable.
const VariableValue & _u_old
AuxVariable value at previous time step.
Function auxiliary value.
static InputParameters validParams()
const Function & _func
Function being used to compute the value of this kernel.
virtual Real value(Real t, const Point &p) const
Override this to evaluate the scalar function at point (t,x,y,z), by default this returns zero,...
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 ...
Real & _dt
Time step size.