#include <CLyapMethod.h>
List of all members.
Constructor & Destructor Documentation
Default constructor.
- Parameters:
-
Default constructor.
Copy constructor.
- Parameters:
-
Copy constructor.
- Parameters:
-
CLyapMethod::~CLyapMethod |
( |
| ) |
|
Member Function Documentation
virtual bool CLyapMethod::calculate |
( |
| ) |
[pure virtual] |
Create a trajectory method for a special problem. Note: the returned object has to be released after use with delete a problem is also passed so that the method has a chance to choose an appropriate simulation method.
bool CLyapMethod::isValidProblem |
( |
const CCopasiProblem * |
pProblem | ) |
[virtual] |
Check if the method is suitable for this problem
- Returns:
- bool suitability of the method
Reimplemented from CCopasiMethod.
Reimplemented in CLyapWolfMethod.
Checks whether the given sub type is a valid method
- Parameters:
-
- Returns:
- bool isValidSubType
Set a pointer to the current state. This method is used by CLyapTask::process() The results of the simulation are passed via this CState variable
- Parameters:
-
CState * | currentState Set a pointer to the problem. This method is used by CLyap |
CLyapProblem * | problem |
Set a pointer to the problem. This method is used by CLyap
- Parameters:
-
virtual void CLyapMethod::start |
( |
const CState * |
initialState | ) |
[virtual] |
This instructs the method to prepare for integration starting with the initialState given.
- Parameters:
-
const CState * | initialState |
virtual double CLyapMethod::step |
( |
const double & |
deltaT | ) |
[virtual] |
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:
-
Reimplemented in CLyapWolfMethod.
Member Data Documentation
A pointer to the current state. This is set from outside with the setState() method and never changed anywhere else. It�s used to report the results to the calling LyapTask A pointer to the trajectory problem.
A list of valid trajectory method types;
The documentation for this class was generated from the following files: