19 "Kernel representing the contribution of the PDE term $sign * f * u$, where $f$ "
20 "is a function coefficient and $u$ is a vector variable.");
21 MooseEnum sign(
"positive=1 negative=-1",
"positive");
23 params.
addParam<FunctionName>(
"function",
"1.0",
"Function coefficient multiplier for field.");
registerMooseObject("MooseApp", VectorFunctionReaction)
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,...
unsigned int _qp
The current quadrature point index.
const MooseArray< Point > & _q_point
The physical location of the element's quadrature Points, indexed by _qp.
unsigned int _j
current index for the shape function
unsigned int _i
current index for the test function
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Kernel representing the contribution of the PDE term $fu$, where $f$ is a function coefficient and $u...
static InputParameters validParams()
const Function & _function
virtual Real computeQpResidual() override
Compute this Kernel's contribution to the residual at the current quadrature point.
VectorFunctionReaction(const InputParameters ¶meters)
virtual Real computeQpJacobian() override
Compute this Kernel's contribution to the Jacobian at the current quadrature point.
const VectorVariableTestValue & _test
the current test function
static InputParameters validParams()
const VectorVariablePhiValue & _phi
the current shape functions
const VectorVariableValue & _u
Holds the solution at current quadrature points.