Class for stuff related to variables.
Base class for deriving any boundary condition that works at nodes on vector variables.
const unsigned int _count
Number of components of the array variable.
virtual void computeJacobian() override
Compute this object's contribution to the diagonal Jacobian entries.
const RealEigenVector & _u
Value of the unknown variable this BC is acting on.
virtual const ArrayMooseVariable & variable() const override
Gets the variable this BC is active on.
This class provides an interface for common operations on field variables of both FE and FV types wit...
Eigen::Matrix< Real, Eigen::Dynamic, Eigen::Dynamic > RealEigenMatrix
Base class for deriving any boundary condition that works at nodes.
virtual void computeOffDiagJacobian(unsigned int jvar) override
Computes this object's contribution to off-diagonal blocks of the system Jacobian matrix...
ArrayMooseVariable & _var
ArrayNodalBC(const InputParameters ¶meters)
const Node *const & _current_node
current node being processed
virtual RealEigenMatrix computeQpOffDiagJacobian(MooseVariableFEBase &jvar)
This is the virtual that derived classes should override for computing an off-diagonal jacobian compo...
RealEigenVector _work_vector
Work vector for residual.
Interface for objects that need to get values of MooseVariables.
const InputParameters & parameters() const
Get the parameters of the object.
virtual void computeQpResidual(RealEigenVector &residual)=0
Compute this BC's contribution to the residual at the current quadrature point, to be filled in resid...
Eigen::Matrix< Real, Eigen::Dynamic, 1 > RealEigenVector
static InputParameters validParams()
virtual void computeResidual() override
Compute this object's contribution to the residual.
virtual RealEigenVector computeQpJacobian()
The user can override this function to compute the "on-diagonal" Jacobian contribution for this Vecto...