20 params.
addRequiredParam<std::vector<Real>>(
"point",
"The x,y,z coordinates of the point");
27 _value(getParam<Real>(
"value")),
28 _point_param(getParam<
std::vector<Real>>(
"point"))
registerMooseObject("MooseApp", ConstantPointSource)
ConstantPointSource(const InputParameters ¶meters)
std::vector< Real > _point_param
virtual void addPoints() override
This is where the DiracKernel should call addPoint() for each point it needs to have a value distribu...
static InputParameters validParams()
virtual Real computeQpResidual() override
This is the virtual that derived classes should override for computing the residual.
unsigned int _i
i-th, j-th index for enumerating shape and test functions
unsigned int _qp
Quadrature point index.
void addPoint(const Elem *elem, Point p, unsigned id=libMesh::invalid_uint, Real value=1.0)
Add the physical x,y,z point located in the element "elem" to the list of points this DiracKernel wil...
A DiracKernel is used when you need to add contributions to the residual by means of multiplying some...
static InputParameters validParams()
const OutputTools< T >::VariableTestValue & _test
Values of test functions at QPs.