20 params.
addClassDescription(
"Forms the contribution to the residual and jacobian of the time " 21 "derivative term for an array variable for ODEs " 22 "being solved at all nodes.");
27 :
ArrayNodalKernel(parameters), _u_dot(_var.dofValuesDot()), _du_dot_du(_var.dofValuesDuDotDu())
const VariableValue & _du_dot_du
Derivative of u_dot with respect to u.
static InputParameters validParams()
virtual RealEigenVector computeQpJacobian() override
The user can override this function to compute the "on-diagonal" Jacobian contribution.
const ArrayVariableValue & _u_dot
Time derivative of u.
static InputParameters validParams()
Class constructor.
virtual void computeQpResidual(RealEigenVector &residual) override
The user must override this function to compute the residual at a node.
registerMooseObject("MooseApp", ArrayTimeDerivativeNodalKernel)
const unsigned int _count
Number of components of the array variable.
Eigen::Matrix< Real, Eigen::Dynamic, 1 > RealEigenVector
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type...
ArrayTimeDerivativeNodalKernel(const InputParameters ¶meters)
Base class for creating nodal kernels with hand-coded Jacobians.
unsigned int _qp
Quadrature point index.