CYCLUS
Loading...
Searching...
No Matches
cyclus::toolkit::PiecewiseFunctionFactory Class Reference

Detailed Description

A concrete factory for piecewise functions.

Definition at line 67 of file symbolic_function_factories.h.

#include <symbolic_function_factories.h>

Inheritance diagram for cyclus::toolkit::PiecewiseFunctionFactory:
cyclus::toolkit::SymbFunctionFactory

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

Constructor.

Definition at line 40 of file symbolic_function_factories.cc.

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.

Parameters
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 symbolic_function_factories.cc.

◆ GetFunctionPtr()

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

Return a function pointer to a piecewise function.

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

Implements cyclus::toolkit::SymbFunctionFactory.

Definition at line 45 of file symbolic_function_factories.cc.


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