std::vector< ADReal > _residuals
Temporary for filling the residuals.
Base class for a RayKernel that integrates along a Ray segment.
Base class for an AD ray kernel that contributes to the residual and/or Jacobian. ...
typename OutputTools< T >::VariableTestValue ADTemplateVariableTestValue
unsigned int _i
Current index for the test function.
void onSegment() override final
Called on each segment of a Ray.
typename OutputTools< T >::VariablePhiValue ADTemplateVariablePhiValue
typename OutputTools< typename Moose::ADType< T >::type >::VariableValue ADTemplateVariableValue
static InputParameters validParams()
const ADTemplateVariableValue< T > & _u
Holds the solution at current quadrature points.
DualNumber< Real, DNDerivativeType, true > ADReal
MooseVariableField< T > & variable()
The MooseVariable this RayKernel contributes to.
ADRayKernelTempl(const InputParameters ¶ms)
const ADTemplateVariablePhiValue< T > & _phi
The current shape functions.
unsigned int _j
Current index for the shape function.
void computeResidual()
Computes and contributes to the residual for a segment.
typename OutputTools< typename Moose::ADType< T >::type >::VariableGradient ADTemplateVariableGradient
MooseVariableField< T > & _var
The MooseVariable this kernel contributes to.
virtual ADReal computeQpResidual()=0
Compute this kernel's contribution to the residual at _qp and _i.
const ADTemplateVariableTestValue< T > & _test
The current test function.
virtual void precalculateResidual()
Insertion point for calculation before the residual computation.
void computeJacobian()
Computes and contributes to the Jacobian for a segment.
const ADTemplateVariableGradient< T > & _grad_u
Holds the solution gradient at the current quadrature points.