45 mooseError(
"In PiecewiseBase ",
_name,
": Lengths of x and y data do not match.");
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application.
Base class for function objects.
static InputParameters validParams()
Class constructor.
const std::string & _name
The name of this class.
virtual Real functionSize() const
static InputParameters validParams()
PiecewiseBase(const InputParameters ¶meters)
virtual void setData(const std::vector< Real > &x, const std::vector< Real > &y)
Provides a means for explicitly setting the x and y data.
virtual Real domain(const int i) const
virtual Real range(const int i) const
std::vector< Real > _raw_x
raw function data as read
std::vector< Real > _raw_y