CYCLUS
|
A concrete factory for piecewise functions.
Definition at line 67 of file symbolic_function_factories.h.
#include <symbolic_function_factories.h>
Public Member Functions | |
void | AddFunction (SymFunction::Ptr function, double starting_coord=0.0, bool continuous=true) |
virtual SymFunction::Ptr | GetFunctionPtr (std::string params="") |
PiecewiseFunctionFactory () | |
Public Member Functions inherited from cyclus::toolkit::SymbFunctionFactory | |
virtual | ~SymbFunctionFactory () |
cyclus::toolkit::PiecewiseFunctionFactory::PiecewiseFunctionFactory | ( | ) |
Constructor.
Definition at line 40 of file symbolic_function_factories.cc.
void cyclus::toolkit::PiecewiseFunctionFactory::AddFunction | ( | SymFunction::Ptr | function, |
double | starting_coord = 0.0, | ||
bool | continuous = true ) |
Add a function to the piecewise function being constructed.
function | the function to append |
starting_coord | the x coordinate to begin this function |
continuous | if true, the added function and previous function will be continuous, if false, discontinuous |
Definition at line 56 of file symbolic_function_factories.cc.
|
virtual |
Return a function pointer to a piecewise function.
params | an empty string by default. if this is not empty, an error is thrown |
Implements cyclus::toolkit::SymbFunctionFactory.
Definition at line 45 of file symbolic_function_factories.cc.