copasi API  0.1
Classes | Public Member Functions | Static Public Member Functions | Friends
CLyapWolfMethod Class Reference

#include <CLyapWolfMethod.h>

Inheritance diagram for CLyapWolfMethod:
CLyapMethod CCopasiMethod CCopasiParameterGroup CCopasiParameter CCopasiContainer CCopasiObject

List of all members.

Classes

struct  Data

Public Member Functions

bool calculate ()
 CLyapWolfMethod (const CLyapWolfMethod &src, const CCopasiContainer *pParent=NULL)
 ~CLyapWolfMethod ()
virtual bool elevateChildren ()
virtual double step (const double &deltaT)
virtual void start ()
void evalF (const C_FLOAT64 *t, const C_FLOAT64 *y, C_FLOAT64 *ydot)
virtual bool isValidProblem (const CCopasiProblem *pProblem)

Static Public Member Functions

static void EvalF (const C_INT *n, const C_FLOAT64 *t, const C_FLOAT64 *y, C_FLOAT64 *ydot)

Friends

CLyapMethodCLyapMethod::createMethod (CCopasiMethod::SubType subType)

Constructor & Destructor Documentation

CLyapWolfMethod::CLyapWolfMethod ( const CLyapWolfMethod src,
const CCopasiContainer pParent = NULL 
)

Copy constructor.

Parameters:
const CLsodaMethod &src
constCCopasiContainer * pParent (default: NULL)
CLyapWolfMethod::~CLyapWolfMethod ( )

Destructor.


Member Function Documentation

bool CLyapWolfMethod::calculate ( void  ) [virtual]

handles the complete calculation

Implements CLyapMethod.

bool CLyapWolfMethod::elevateChildren ( ) [virtual]

This methods must be called to elevate subgroups to derived objects. The default implementation does nothing.

Returns:
bool success

Reimplemented from CCopasiParameterGroup.

void CLyapWolfMethod::EvalF ( const C_INT *  n,
const C_FLOAT64 *  t,
const C_FLOAT64 *  y,
C_FLOAT64 *  ydot 
) [static]

Calculate the default absolute tolerance

Parameters:
constCModel * pModel
Returns:
C_FLOAT64 defaultAtol
void CLyapWolfMethod::evalF ( const C_FLOAT64 *  t,
const C_FLOAT64 *  y,
C_FLOAT64 *  ydot 
)

This evaluates the derivatives for the complete model

bool CLyapWolfMethod::isValidProblem ( const CCopasiProblem pProblem) [virtual]

Check if the method is suitable for this problem

Returns:
bool suitability of the method

Reimplemented from CLyapMethod.

void CLyapWolfMethod::start ( ) [virtual]

This instructs the method to prepare for integration starting with the initialState given.

Parameters:
const CState *initialState
double CLyapWolfMethod::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:
const double &deltaT

Reimplemented from CLyapMethod.


Friends And Related Function Documentation

CLyapMethod* CLyapMethod::createMethod ( CCopasiMethod::SubType  subType) [friend]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines