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()
const ArrayVariableValue & _u_dot
Time derivative of u.
void setJacobian(unsigned int i, unsigned int j, Real value)
Add a Jacobian entry for the current nodal kernel contribution.
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.
IntRange< T > make_range(T beg, T end)
virtual void computeQpJacobian() override
The user can override this function to compute the intra-variable off-diagonal Jacobian contribution ...
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.