CYCLUS
Public Types | Public Member Functions | List of all members
cyclus::toolkit::SymFunction Class Referenceabstract

Detailed Description

Abstract base class for symbolic functions.

Definition at line 18 of file symbolic_functions.h.

#include <symbolic_functions.h>

Inheritance diagram for cyclus::toolkit::SymFunction:
cyclus::toolkit::ExponentialFunction cyclus::toolkit::LinearFunction cyclus::toolkit::PiecewiseFunction

Public Types

typedef boost::shared_ptr< SymFunctionPtr
 

Public Member Functions

virtual std::string Print ()=0
 
virtual double value (double x)=0
 
virtual ~SymFunction ()
 

Member Typedef Documentation

typedef boost::shared_ptr<SymFunction> cyclus::toolkit::SymFunction::Ptr

Definition at line 20 of file symbolic_functions.h.

Constructor & Destructor Documentation

virtual cyclus::toolkit::SymFunction::~SymFunction ( )
inlinevirtual

Virtual destructor for an abstract base class.

Definition at line 23 of file symbolic_functions.h.

Member Function Documentation

virtual std::string cyclus::toolkit::SymFunction::Print ( )
pure virtual
virtual double cyclus::toolkit::SymFunction::value ( double  x)
pure virtual

Base class must define how to calculate demand (dbl argument)

Implemented in cyclus::toolkit::PiecewiseFunction, cyclus::toolkit::ExponentialFunction, and cyclus::toolkit::LinearFunction.


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