#include <CMathModel.h>
List of all members.
Constructor & Destructor Documentation
Default constructor
- Parameters:
-
Copy constructor
- Parameters:
-
CMathModel::~CMathModel |
( |
| ) |
[virtual] |
Member Function Documentation
void CMathModel::applyInitialValues |
( |
| ) |
|
Initialize all values of the math model with their initial values.
std::vector< Refresh * > CMathModel::buildDependendRefreshList |
( |
const std::set< const CCopasiObject * > & |
changedObjects | ) |
const |
Build a list of refresh calls needed to assure that all objects depending on the changed objects are up to date.
- Parameters:
-
const | std::set< const CCopasiObject * > & changedObjects |
- Returns:
- std::vector< Refresh * > refreshList
std::vector< Refresh * > CMathModel::buildRequiredRefreshList |
( |
const std::set< const CCopasiObject * > & |
requiredObjects | ) |
const |
Build a list of refresh calls needed to assure that required objects are up to date.
- Parameters:
-
const | std::set< const CCopasiObject * > & requiredObjects |
- Returns:
- std::vector< Refresh * > refreshList
void CMathModel::calculateRootDerivatives |
( |
CVector< C_FLOAT64 > & |
rootDerivatives | ) |
|
Calculate the time derivative of all roots
- Parameters:
-
CVector< | C_FLOAT64 > & rootDerivatives |
bool CMathModel::compile |
( |
CModel * |
pModel | ) |
|
Compile the mathematical model based on given the model.
- Parameters:
-
- Returns:
- bool success
void CMathModel::evaluateRoots |
( |
CVectorCore< C_FLOAT64 > & |
rootValues, |
|
|
const bool & |
ignoreDiscrete |
|
) |
| |
Evaluate all root values for the current state of the model. If ignoreDiscrete is true discrete roots evaluate to 1.0.
- Parameters:
-
CVectorCore< | double > & rootValues |
const | bool & ignoreDiscrete |
const C_FLOAT64 & CMathModel::getInitialTime |
( |
| ) |
const |
Retreive the initial time
- Returns:
- const C_FLOAT64 & initialTime
size_t CMathModel::getNumRoots |
( |
| ) |
const |
Retrieve the number of roots used in checking for discontinuities.
- Returns:
- size_t numRoots
const C_FLOAT64 & CMathModel::getProcessQueueExecutionTime |
( |
| ) |
const |
Retrieve the next execution time scheduled in the process queue
- Returns:
- const C_FLOAT64 & processQueueExecutionTime
Process events scheduled at the given which a are checked for equality or not
- Parameters:
-
- Returns:
- bool stateChanged
void CMathModel::processRoots |
( |
const C_FLOAT64 & |
time, |
|
|
const bool & |
equality, |
|
|
const CVector< C_INT > & |
roots |
|
) |
| |
Check whether the roots which have value 1 lead to firing of events and schedule them if needed.
- Parameters:
-
The documentation for this class was generated from the following files: