45 mooseError(
"In PiecewiseBase ",
_name,
": Lengths of x and y data do not match.");
Base class for function objects.
const std::string & _name
The name of this class, reference to value stored in InputParameters.
static InputParameters validParams()
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
virtual Real functionSize() const
PiecewiseBase(const InputParameters ¶meters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
std::vector< Real > _raw_y
static InputParameters validParams()
Class constructor.