37 void errorCheck(
const std::string & input_name, std::size_t reporterSize);
ReporterPointSource(const InputParameters ¶meters)
const std::vector< Point > & _point
xyz point
virtual void addPoints() override
This is where the DiracKernel should call addPoint() for each point it needs to have a value distribu...
std::unordered_map< Point, Real > _point_to_weightedValue
map from an added point to it's weighted value
virtual Real computeQpResidual() override
This is the virtual that derived classes should override for computing the residual.
const std::vector< Real > & _coordx
x coordinate
A ReporterPointSource DiracKernel is used to create variable valued point sources.
Interface to allow object to consume Reporter values.
std::vector< Real > _ones_vec
convenience vectors (these are not const because reporters can change their size) ...
std::vector< Point > _zeros_pts
std::vector< Real > _zeros_vec
void errorCheck(const std::string &input_name, std::size_t reporterSize)
A DiracKernel is used when you need to add contributions to the residual by means of multiplying some...
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const std::vector< Real > & _coordy
y coordinate
const bool _read_in_points
bool if data format read in is points
const std::vector< Real > & _values
values at each xyz coordinate
const InputParameters & parameters() const
Get the parameters of the object.
const bool _combine_duplicates
bool if duplicate points values and weights should be combined
void fillPoint(const Point &point, const dof_id_type id)
Add points and check for duplicate points.
const std::vector< Real > & _weight
weights to scale value by
const std::vector< Real > & _coordz
z coordinate