20 params.
addRequiredParam<std::vector<Real>>(
"point",
"The x,y,z coordinates of the point");
28 _point_param(getParam<
std::vector<
Real>>(
"point"))
const RealVectorValue & _values
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.
VectorConstantPointSource(const InputParameters ¶meters)
std::vector< Real > _point_param
virtual Real computeQpResidual() override
This is the virtual that derived classes should override for computing the residual.
static InputParameters validParams()
A VectorConstantPointSource DiracKernel is used to add a constant source term at a point...
A DiracKernel is used when you need to add contributions to the residual by means of multiplying some...
registerMooseObject("MooseApp", VectorConstantPointSource)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
unsigned int _qp
Quadrature point index.
virtual void addPoints() override
This is where the DiracKernel should call addPoint() for each point it needs to have a value distribu...
unsigned int _i
i-th, j-th index for enumerating shape and test functions
static InputParameters validParams()