copasi API
0.1
|
#include <CNewtonMethod.h>
Public Member Functions | |
CNewtonMethod (const CNewtonMethod &src, const CCopasiContainer *pParent=NULL) | |
~CNewtonMethod () | |
virtual bool | elevateChildren () |
virtual void | load (CReadConfig &configBuffer, CReadConfig::Mode mode=CReadConfig::SEARCH) |
virtual CSteadyStateMethod::ReturnCode | processInternal () |
bool | isSteadyState (C_FLOAT64 value) |
C_FLOAT64 | targetFunction (const CVector< C_FLOAT64 > &particleFluxes) |
virtual bool | isValidProblem (const CCopasiProblem *pProblem) |
virtual bool | initialize (const CSteadyStateProblem *pProblem) |
Friends | |
CSteadyStateMethod * | CSteadyStateMethod::createSteadyStateMethod (CCopasiMethod::SubType subType) |
CNewtonMethod::CNewtonMethod | ( | const CNewtonMethod & | src, |
const CCopasiContainer * | pParent = NULL |
||
) |
Copy constructor.
const CNewtonMethod & | src |
const | CCopasiContainer * pParent (default: NULL) |
CNewtonMethod::~CNewtonMethod | ( | ) |
Destructor.
bool CNewtonMethod::elevateChildren | ( | ) | [virtual] |
This methods must be called to elevate subgroups to derived objects. The default implementation does nothing.
Reimplemented from CSteadyStateMethod.
bool CNewtonMethod::initialize | ( | const CSteadyStateProblem * | pProblem | ) | [virtual] |
Initialize the method must be called before process
const | CSteadyStateProblem * pProblem |
Reimplemented from CSteadyStateMethod.
bool CNewtonMethod::isSteadyState | ( | C_FLOAT64 | value | ) |
bool CNewtonMethod::isValidProblem | ( | const CCopasiProblem * | pProblem | ) | [virtual] |
Check if the method is suitable for this problem
Reimplemented from CSteadyStateMethod.
virtual void CNewtonMethod::load | ( | CReadConfig & | configBuffer, |
CReadConfig::Mode | mode = CReadConfig::SEARCH |
||
) | [virtual] |
Load a list of parameters
CReadConfig & | configBuffer |
CReadConfig::Mode | mode Default(CReadConfig::SEARCH) |
Reimplemented from CCopasiMethod.
CSteadyStateMethod::ReturnCode CNewtonMethod::processInternal | ( | ) | [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.
Reimplemented from CSteadyStateMethod.
C_FLOAT64 CNewtonMethod::targetFunction | ( | const CVector< C_FLOAT64 > & | particleFluxes | ) |
This is the function that is supposed to be near zero if a steady state is detected.
const | CVector< C_FLOAT64 > & particleFluxes |
CSteadyStateMethod* CSteadyStateMethod::createSteadyStateMethod | ( | CCopasiMethod::SubType | subType | ) | [friend] |