23 std::vector<Real> & data_x,
24 std::vector<Real> & data_y);
static InputParameters validParams()
std::vector< Real > & _data_y
User object that reads a JSON file and makes its data available to other objects. ...
bool isRawDataLoaded() const
Returns whether the raw data has been loaded already.
void buildFromFile(const libMesh::Parallel::Communicator &comm)
Reads data from supplied CSV file.
std::vector< Real > & _data_x
raw function data as read
Every object that can be built by the factory should be derived from this class.
PiecewiseTabularInterface(const MooseObject &object, std::vector< Real > &data_x, std::vector< Real > &data_y)
void buildFromXandY()
Builds data from 'x' and 'y' parameters.
const InputParameters & _parameters
Parameters supplied to the object.
unsigned int _axis
if _has_axis is true point component to use as function argument, otherwise use t ...
const MooseObject & _object
The object.
void buildFromXY()
Builds data from 'xy_data' parameter.
bool _raw_data_loaded
Boolean to keep track of whether the data has been loaded.
void buildFromJSON(const JSONFileReader &json_uo)
Reads data from supplied JSON reader.