void computeFullJacobian()
Computes the full Jacobian for the current element.
void computeADResiduals()
Computes the AD residuals for the current element.
virtual void computeResidual() override
Compute this object's contribution to the residual.
virtual void jacobianSetup() override
Gets called just before the Jacobian is computed and before this object is asked to do its job...
std::vector< ADReal > _ad_residuals
AD residuals for the current element.
typename OutputTools< T >::VariableTestValue ADTemplateVariableTestValue
const InputParameters & parameters() const
Get the parameters of the object.
AD version of DiracKernel.
virtual void computeJacobian() override
Compute this object's contribution to the diagonal Jacobian entries.
typename OutputTools< T >::VariablePhiValue ADTemplateVariablePhiValue
typename OutputTools< typename Moose::ADType< T >::type >::VariableValue ADTemplateVariableValue
DualNumber< Real, DNDerivativeType, true > ADReal
const ADTemplateVariablePhiValue< Real > & _phi
Values of shape functions at QPs.
An interface for accessing Moose::Functors for systems that care about automatic differentiation, e.g.
virtual ADReal computeQpResidual()=0
Computes the residual contribution at the current quadrature point.
virtual void computeResidualAndJacobian() override
Compute this object's contribution to the residual and Jacobian simultaneously.
virtual void computeOffDiagJacobian(unsigned int jvar) override
Computes the off-diagonal Jacobian for variable jvar.
typename OutputTools< typename Moose::ADType< T >::type >::VariableGradient ADTemplateVariableGradient
ADDiracKernel(const InputParameters ¶meters)
const ADTemplateVariableValue< Real > & _u
Holds the solution at current quadrature points.
static InputParameters validParams()
virtual const MooseVariableField< Real > & variable() const override
Returns the variable that this object operates on.
const ADTemplateVariableTestValue< Real > & _test
Values of test functions at QPs.
const Elem * _last_jacobian_elem
The element corresponding to previous Jacobian calculation.
MooseVariableField< Real > & _var
Variable this kernel acts on.
Interface for objects that need to get values of MooseVariables.
const ADTemplateVariableGradient< Real > & _grad_u
Holds the solution gradient at the current quadrature points.
DiracKernelBase is the base class for all DiracKernel type classes.