Base class for function objects.
const unsigned int _column_number
The column number of interest in the CSV file.
virtual Real value(Real t, const Point &pt) const override
Get the value of the function based on the data in the CSV file.
Read properties from file - grain, element, node or block Input file syntax: prop1 prop2 etc...
virtual Real timeDerivative(Real, const Point &) const override
Get the time derivative of the function.
void initialSetup() override
Gets called at the beginning of the simulation before this object is asked to do its job...
ReadTypeEnum
How data is organized in the CSV file.
const PropertyReadFile::ReadTypeEnum _read_type
Type of read - element, grain, or block.
std::unique_ptr< libMesh::PointLocatorBase > _point_locator
The point locator is used when values are sorted by elements or blocks in the CSV.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Function which provides a piecewise constant, in space, field from a CSV file.
const InputParameters & parameters() const
Get the parameters of the object.
const PropertyReadFile * _read_prop_user_object
A user object that takes care of reading the CSV file.
PiecewiseConstantFromCSV(const InputParameters ¶meters)
virtual Real value(Real t, const Point &p) const
Override this to evaluate the scalar function at point (t,x,y,z), by default this returns zero...
static InputParameters validParams()