25 :
ADDiracKernel(parameters), _functor(getFunctor<
ADReal>(
"functor")), _p(getParam<Point>(
"point"))
38 mooseAssert(
_current_point ==
_p,
"Current point must be user-provided point");
const QBase *const & _qrule
Quadrature rule.
AD version of DiracKernel.
const Moose::Functor< ADReal > & _functor
Source functor.
void addPoint(const Elem *elem, Point p, unsigned id=libMesh::invalid_uint)
Add the physical x,y,z point located in the element "elem" to the list of points this DiracKernel wil...
const Point & _p
Source point.
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("MooseApp", FunctorDiracKernel)
FunctorDiracKernel(const InputParameters ¶meters)
Computes a dirac source using a functor.
virtual void addPoints() override
This is where the DiracKernel should call addPoint() for each point it needs to have a value distribu...
virtual ADReal computeQpResidual() override
Computes the residual contribution at the current quadrature point.
Argument for requesting functor evaluation at a quadrature point location in an element.
const Elem *const & _current_elem
static InputParameters validParams()
const ADTemplateVariableTestValue< Real > & _test
Values of test functions at QPs.
unsigned int _qp
Quadrature point index.
unsigned int _i
i-th, j-th index for enumerating shape and test functions
static InputParameters validParams()
Point _current_point
The current point.