20 template <
typename T,
typename Base>
45 const unsigned int _qp = 0;
52 using Base::_fe_problem;
53 using Base::_subproblem;
56 using Base::addJacobian;
57 using Base::addMooseVariableDependency;
58 using Base::setResidual;
70 template <typename ADResidual>
76 template <typename ADResidual>
void addJacobian(const ADResidual &residual, const std::vector< dof_id_type > &dof_indices)
process the Jacobian into the global data structures
Keeps track of stuff related to assembling.
void computeResidualAndJacobian() override
Base class for deriving any automatic differentiation boundary condition of a integrated type...
Base class for automatic differentiation Dirichlet BCs.
void computeJacobian() override final
ADNodalBCTempl(const InputParameters ¶meters)
const Moose::ADType< T >::type & _u
Value of the unknown variable this BC is acting on.
const std::array< bool, 3 > _set_components
An interface for accessing Moose::Functors for systems that care about automatic differentiation, e.g.
virtual Moose::ADType< T >::type computeQpResidual()=0
Compute this NodalBC's contribution to the residual at the current quadrature point.
Assembly & _undisplaced_assembly
A reference to the undisplaced assembly in order to ensure data gets correctly incorporated into the ...
void computeOffDiagJacobian(unsigned int jvar) override final
static InputParameters validParams()
void computeResidual() override final
MooseVariableFE< T > & _var
The variable that this NodalBC operates on.
Base class for deriving any boundary condition that works at nodes.
const unsigned int _qp
Pseudo-"quadrature point" index (Always zero for the current node)
const Node *const & _current_node
current node being processed
bool shouldSetComp(unsigned short i) const
void computeOffDiagJacobianScalar(unsigned int jvar) override final
Interface for objects that need to get values of MooseVariables.
const MooseVariableFE< T > & variable() const override
void addResidual(const ADResidual &residual, const std::vector< dof_id_type > &dof_indices)
process the residual into the global data structures