#include <CTauLeapMethod.h>
List of all members.
Constructor & Destructor Documentation
Copy constructor
- Parameters:
-
CTauLeapMethod::~CTauLeapMethod |
( |
| ) |
|
CTauLeapMethod::CTauLeapMethod |
( |
const CCopasiContainer * |
pParent = NULL | ) |
[protected] |
Default constructor.
- Parameters:
-
Default constructor.
Member Function Documentation
const C_FLOAT64 & CTauLeapMethod::calculateAmu |
( |
const size_t & |
index | ) |
[protected] |
Calculate one of the propensities
- Parameters:
-
- Returns:
- const C_FLOAT64 & amu
void CTauLeapMethod::cleanup |
( |
| ) |
[protected] |
Cleans up memory, etc.
Initializes the solver and sets the model to be used.
- Parameters:
-
model | A reference to an instance of a CModel Cleans up memory, etc. |
C_FLOAT64 CTauLeapMethod::doSingleStep |
( |
C_FLOAT64 |
ds | ) |
[protected] |
Simulates the system over the next interval of time. The timestep is given as argument.
- Parameters:
-
ds | A C_FLOAT64 specifying the timestep |
bool CTauLeapMethod::elevateChildren |
( |
| ) |
[virtual] |
This methods must be called to elevate subgroups to derived objects. The default implementation does nothing.
- Returns:
- bool success
Reimplemented from CCopasiParameterGroup.
bool CTauLeapMethod::isValidProblem |
( |
const CCopasiProblem * |
pProblem | ) |
[virtual] |
Check if the method is suitable for this problem
- Returns:
- bool suitability of the method
Reimplemented from CTrajectoryMethod.
void CTauLeapMethod::start |
( |
const CState * |
initialState | ) |
[virtual] |
This instructs the method to prepare for integration starting with the initialState given.
- Parameters:
-
const CState * | initialState |
Reimplemented from CTrajectoryMethod.
This instructs the method to calculate a time step of deltaT starting with the current state, i.e., the result of the previous step. The new state (after deltaT) is expected in the current state. The return value is the actual timestep taken.
- Parameters:
-
- Returns:
- Status status
Reimplemented from CTrajectoryMethod.
void CTauLeapMethod::updatePropensities |
( |
| ) |
[protected] |
Calculate the propensities for all reactions
bool CTauLeapMethod::updateSystem |
( |
| ) |
[protected] |
Updates the system according to the probabilistic number of firings mK[i] of each reaction i
Friends And Related Function Documentation
Member Data Documentation
Total propensity (sum over mAmu[i])
A vector of reaction propensities
indicates if the correction N^2 -> N*(N-1) should be performed
The tolerance ratio x(t+t')< eps*x(t)
index of first species in a CState
The k-values of the reactions, that is the probabilistic number of firings within one leap.
The maximum number of tau leap steps allowed for an integrations step
The method internal state which contains particle rounded particle numbers.
Number of variable metabolites.
The random number generator.
A vector containing dependency information to minimize the required updates.
Specifies if the mRandomSeed should be used. otherwise a randomly chosen seed is used.
The documentation for this class was generated from the following files: