31 const Point & end_point,
32 unsigned int num_points,
33 std::vector<Point> & points,
34 std::vector<Real> & ids);
Real getValue(const Point &p) const
Gets the value of the variable at a point p.
Base class for sampling variable(s) at points.
const Real _line_vector_norm
Length of line segment.
static InputParameters validParams()
LineValueSampler(const InputParameters ¶meters)
unsigned int & _num_points
const VectorPostprocessorValue & _vpp_value
std::vector< Real > VectorPostprocessorValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const RealVectorValue _line_vector
Vector connecting the start and end points of the line segment.
static void generatePointsAndIDs(const Point &start_point, const Point &end_point, unsigned int num_points, std::vector< Point > &points, std::vector< Real > &ids)
Helper function to generate the list of points along a line and a unique ID for each point...
const InputParameters & parameters() const
Get the parameters of the object.
const RealVectorValue _zero
Zero vector.
virtual Real spatialValue(const Point &p) const override
Gets the value of the variable at a point p.