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"))
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 OutputTools< T >::VariableTestValue & _test
Values of test functions at QPs.
registerMooseObject("MooseApp", ConstantPointSource)
std::vector< Real > _point_param
ConstantPointSource(const InputParameters ¶meters)
static InputParameters validParams()
virtual Real computeQpResidual() override
This is the virtual that derived classes should override for computing the residual.
A DiracKernel is used when you need to add contributions to the residual by means of multiplying some...
virtual void addPoints() override
This is where the DiracKernel should call addPoint() for each point it needs to have a value distribu...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
unsigned int _qp
Quadrature point index.
unsigned int _i
i-th, j-th index for enumerating shape and test functions
static InputParameters validParams()