OutputTools< RealEigenVector >::VariableValue ArrayVariableValue
Base class for creating nodal kernels with hand-coded Jacobians.
const ArrayVariableValue & _u
Value of the unknown variable this is acting on.
const std::vector< dof_id_type > * _ivar_indices
DOF indices.
const MooseVariableFE< RealEigenVector > & variable() const override
Gets the variable this is active on.
virtual void computeResidual() override
Compute and assemble the residual at the current node.
MooseVariableFE< RealEigenVector > & _var
variable this works on
void setJacobian(unsigned int i, unsigned int j, Real value)
Add a Jacobian entry for the current nodal kernel contribution.
const unsigned int _count
Number of components of the array variable.
virtual void computeQpOffDiagJacobian(unsigned int)
The user can override this function to compute the inter-variable off-diagonal Jacobian contribution ...
virtual void computeQpResidual(RealEigenVector &residual)=0
The user must override this function to compute the residual at a node.
virtual void computeQpJacobian()
The user can override this function to compute the intra-variable off-diagonal Jacobian contribution ...
RealEigenVector _work_vector
Work vector for residual.
static InputParameters validParams()
Class constructor.
virtual void computeOffDiagJacobian(unsigned int jvar) override
Compute the off-diagonal Jacobian at one node.
const std::vector< dof_id_type > * _jvar_indices
virtual void computeJacobian() override
Compute and assemble the Jacobian at one node.
const std::vector< Real > & _scaling
scaling factors
const InputParameters & parameters() const
Get the parameters of the object.
Class for stuff related to variables.
Interface for objects that need to get values of MooseVariables.
virtual const OutputTools< RealEigenVector >::VariableValue & value()
The value of the variable this object is operating on.
Base class for creating new types of nodal kernels.