copasi API
0.1
|
#include <CSteadyStateMethod.h>
CSteadyStateMethod::CSteadyStateMethod | ( | CCopasiMethod::SubType | subType, |
const CCopasiContainer * | pParent = NULL |
||
) | [protected] |
Specific constructor.
CCopasiMethod::SubType | subType |
const | CCopasiContainer * pParent (default: NULL) |
Default constructor.
CSteadyStateMethod::CSteadyStateMethod | ( | const CSteadyStateMethod & | src, |
const CCopasiContainer * | pParent = NULL |
||
) |
Copy constructor.
const CSteadyStateMethod & | src |
const | CCopasiContainer * pParent (default: NULL) |
Copy constructor.
const CSteadyStateMethod & | src |
CSteadyStateMethod::~CSteadyStateMethod | ( | ) |
Destructor.
bool CSteadyStateMethod::allPositive | ( | ) | [protected] |
Check whether all values make physically sence, i.e., volumes and particle number are positive
void CSteadyStateMethod::calculateJacobianX | ( | const C_FLOAT64 & | oldMaxRate | ) | [protected] |
CSteadyStateMethod * CSteadyStateMethod::createSteadyStateMethod | ( | CCopasiMethod::SubType | subType = CCopasiMethod::Newton | ) | [static] |
Create a trajectory method. Note: the returned object has to be released after use with delete
CSteadyStateMethod class. This class describes the interface to all steady state methods. The various method like Newton have to be derived from this class.
Created for COPASI by Stefan Hoops 2002
void CSteadyStateMethod::doJacobian | ( | CMatrix< C_FLOAT64 > & | jacobian, |
CMatrix< C_FLOAT64 > & | jacobianX | ||
) |
calls the CModel methods to calculate the jacobians (at the steady state). This trivial method is implemented in the method because it may need to know about some method parameters
bool CSteadyStateMethod::elevateChildren | ( | ) | [virtual] |
This methods must be called to elevate subgroups to derived objects. The default implementation does nothing.
Reimplemented from CCopasiParameterGroup.
Reimplemented in CNewtonMethod.
std::string CSteadyStateMethod::getMethodLog | ( | ) | const |
C_FLOAT64 CSteadyStateMethod::getStabilityResolution | ( | ) |
returns the resolution for stability analysis
bool CSteadyStateMethod::initialize | ( | const CSteadyStateProblem * | pProblem | ) | [virtual] |
Initialize the method must be called before process
const | CSteadyStateProblem * pProblem |
Reimplemented in CNewtonMethod.
void CSteadyStateMethod::initializeParameter | ( | ) | [protected] |
initialize parameters and handle parameters of old copasi files
bool CSteadyStateMethod::isEquilibrium | ( | const C_FLOAT64 & | resolution | ) | const [protected] |
Check whether the steady state is chemical equilibrium
const | C_FLOAT64 & resolution bool isEquilibrium |
bool CSteadyStateMethod::isValidProblem | ( | const CCopasiProblem * | pProblem | ) | [virtual] |
Check if the method is suitable for this problem
Reimplemented from CCopasiMethod.
Reimplemented in CNewtonMethod.
CSteadyStateMethod::ReturnCode CSteadyStateMethod::process | ( | CState * | pState, |
CMatrix< C_FLOAT64 > & | jacobianX, | ||
CProcessReport * | handler | ||
) |
This instructs the method to calculate a the steady state starting with the initialState given. The steady state is returned in the object pointed to by steadyState.
CState | * steadyState |
CMatrix< | C_FLOAT64 > & jacobianX |
CProcessReport | * handler |
This instructs the method to calculate a the steady state starting with the initialState given. The steady state is returned in the object pointed to by steadyState.
CSteadyStateMethod::ReturnCode CSteadyStateMethod::processInternal | ( | ) | [protected, virtual] |
This instructs the method to calculate a the steady state starting with the initialState given. The steady state is returned in the object pointed to by steadyState.
This instructs the method to calculate a the steady state
Reimplemented in CNewtonMethod.
CSteadyStateMethod::ReturnCode CSteadyStateMethod::returnProcess | ( | bool | steadyStateFound | ) | [protected, virtual] |
This function has to be called at the return of any implementation of the protected function process()
This function has to be called at the return of any implementation of the protected function process
bool | success |
const | C_FLOAT64 & factor |
const | C_FLOAT64 & resolution |
std::ostringstream CSteadyStateMethod::mMethodLog [protected] |
C_FLOAT64* CSteadyStateMethod::mpDerivationFactor [protected] |
The factor for numerical derivation
C_FLOAT64* CSteadyStateMethod::mpDerivationResolution [protected] |
The resolution of the variable of numerical derivation
CMatrix< C_FLOAT64 >* CSteadyStateMethod::mpJacobianX [protected] |
The jacobian of the steadystate
CModel* CSteadyStateMethod::mpModel [protected] |
A pointer to the model.
CSteadyStateTask* CSteadyStateMethod::mpParentTask [protected] |
A pointer to the task.
const CSteadyStateProblem* CSteadyStateMethod::mpProblem [protected] |
A pointer to the problem.
CProcessReport* CSteadyStateMethod::mpProgressHandler [protected] |
A pointer to the progress bar handler
C_FLOAT64* CSteadyStateMethod::mpSSResolution [protected] |
The concentration rate that is considered zero
CState* CSteadyStateMethod::mpSteadyState [protected] |
A pointer to the steady state