copasi API  0.1
Classes | Public Member Functions
CMathTrigger Class Reference

#include <CMathTrigger.h>

Inheritance diagram for CMathTrigger:
CCopasiContainer CCopasiObject

List of all members.

Classes

class  CRootFinder

Public Member Functions

 CMathTrigger (const CCopasiContainer *pParent=NULL)
 CMathTrigger (const CMathTrigger &src, const CCopasiContainer *pParent=NULL)
virtual ~CMathTrigger ()
void calculateInitialTrue ()
void calculateInitialActivity ()
bool calculate ()
bool compile (const CExpression *pTriggerExpression, std::vector< CCopasiContainer * > listOfContainer)
CCopasiVector< CRootFinder > & getRootFinders ()

Constructor & Destructor Documentation

CMathTrigger::CMathTrigger ( const CCopasiContainer pParent = NULL)

Default constructor

Parameters:
constCCopasiContainer * pParent (default: NULL)
CMathTrigger::CMathTrigger ( const CMathTrigger src,
const CCopasiContainer pParent = NULL 
)

Copy constructor

Parameters:
const CMathTrigger &src
"constCCopasiContainer * pParent (default: NULL)
CMathTrigger::~CMathTrigger ( ) [virtual]

Destructor


Member Function Documentation

bool CMathTrigger::calculate ( void  )

Calculate the current trigger value.

Returns:
value
void CMathTrigger::calculateInitialActivity ( )

Determine the activity for the initial conditions.

void CMathTrigger::calculateInitialTrue ( )

Determine the true value for the initial conditions.

bool CMathTrigger::compile ( const CExpression pTriggerExpression,
std::vector< CCopasiContainer * >  listOfContainer 
)

Compile the trigger

Parameters:
constCExpression * pTriggerExpression
std::vector<CCopasiContainer * > listOfContainer
Returns:
bool success
CCopasiVector< CMathTrigger::CRootFinder > & CMathTrigger::getRootFinders ( )

Retrieve the list of root finders

Returns:
CCopasiVector< CRootFinder > & rootFinders

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines