Classes | Functions
PiecewiseConstant.h File Reference

Go to the source code of this file.


class  PiecewiseConstant
 Function which provides a piecewise continuous constant interpolation of a provided (x,y) point data set. More...


InputParameters validParams< PiecewiseConstant > ()

Function Documentation

Definition at line 19 of file PiecewiseConstant.C.

20 {
22  MooseEnum direction("left right", "left");
23  params.addParam<MooseEnum>(
24  "direction", direction, "Direction to look to find value: " + direction.getRawNames());
25  params.addClassDescription("Defines data using a set of x-y data pairs");
26  return params;
27 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters validParams< Piecewise >()
Definition: Piecewise.C:22
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:37
std::string getRawNames() const
Method for returning the raw name strings for this instance.
void addClassDescription(const std::string &doc_string)
This method adds a description of the class that will be displayed in the input file syntax dump...
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...