const std::vector< Real > & _axis_coordinates
N-1 coordinates in the chosen axis, in increasing order, delimiting the N function regions...
const unsigned int _n_functions
Number of functions, N.
const std::vector< FunctionName > & _function_names
Names of the functions in the N regions.
virtual Real timeDerivative(Real t, const Point &p) const override
virtual Real value(Real t, const Point &p) const override
const bool _use_time
Use the time axis?
virtual RealVectorValue gradient(Real t, const Point &p) const override
static InputParameters validParams()
PiecewiseFunction(const InputParameters ¶meters)
Function which provides a piecewise representation of arbitrary functions.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
unsigned int getFunctionIndex(Real t, const Point &p) const
Gets the index of the function at the specified time and spatial point.
const InputParameters & parameters() const
std::vector< const Function * > _functions
Functions in the N regions.
virtual Real value(Real t, const Point &p) const
const unsigned int _component
Axis on which the N-1 delimiting points lie.