Public Member Functions | List of all members
cyclus::toolkit::PiecewiseFunctionFactory Class Reference

Detailed Description

A concrete factory for piecewise functions.

Definition at line 66 of file symbolic_function_factories.h.

#include <symbolic_function_factories.h>

Inheritance diagram for cyclus::toolkit::PiecewiseFunctionFactory:
Inheritance graph

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 ()

Constructor & Destructor Documentation

◆ PiecewiseFunctionFactory()

cyclus::toolkit::PiecewiseFunctionFactory::PiecewiseFunctionFactory ( )


Definition at line 40 of file

Member Function Documentation

◆ AddFunction()

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.

functionthe function to append
starting_coordthe x coordinate to begin this function
continuousif true, the added function and previous function will be continuous, if false, discontinuous

Definition at line 56 of file

◆ GetFunctionPtr()

SymFunction::Ptr cyclus::toolkit::PiecewiseFunctionFactory::GetFunctionPtr ( std::string  params = "")

Return a function pointer to a piecewise function.

paramsan empty string by default. if this is not empty, an error is thrown
the piecewise function

Implements cyclus::toolkit::SymbFunctionFactory.

Definition at line 45 of file

The documentation for this class was generated from the following files: