copasi API  0.1
Public Member Functions | Public Attributes | Friends
CILDMModifiedMethod Class Reference

#include <CILDMModifiedMethod.h>

Inheritance diagram for CILDMModifiedMethod:
CTSSAMethod CCopasiMethod CCopasiParameterGroup CCopasiParameter CCopasiContainer CCopasiObject

List of all members.

Public Member Functions

 CILDMModifiedMethod (const CILDMModifiedMethod &src, const CCopasiContainer *pParent=NULL)
 ~CILDMModifiedMethod ()
virtual void initializeParameter ()
virtual void step (const double &deltaT)
virtual void start (const CState *initialState)
void deuflhard_metab (C_INT &slow, C_INT &info)
void newton_new (C_INT *index_metab, C_INT &slow, C_INT &info)
void newton_for_timestep (C_INT metabolite_number, C_FLOAT64 &y_consistent, C_INT &info)
void evalsort (C_FLOAT64 *reval, C_INT *index, const C_INT &dim_x)
const CArrayAnnotationgetVslowPrintAnn () const
const CArrayAnnotationgetVslowSpacePrintAnn () const
const CArrayAnnotationgetVfastSpacePrintAnn () const
const CArrayAnnotationgetVslowMetabPrintAnn () const
void setVectors (int slowMode)
void emptyVectors ()
void createAnnotationsM ()
bool setAnnotationM (int step)
void printResult (std::ostream *ostream) const

Public Attributes

std::vector< CMatrix< C_FLOAT64 > > mVec_mVslow
std::vector< CMatrix< C_FLOAT64 > > mVec_mVslowMetab
std::vector< CVector< C_FLOAT64 > > mVec_mVslowSpace
std::vector< CVector< C_FLOAT64 > > mVec_mVfastSpace
CArrayAnnotationpVslowPrintAnn
CArrayAnnotationpVslowMetabPrintAnn
CArrayAnnotationpVslowSpacePrintAnn
CArrayAnnotationpVfastSpacePrintAnn
CArrayAnnotationpTmp1
CArrayAnnotationpTmp2
CArrayAnnotationpTmp3
CArrayAnnotationpTmp4
CMatrix< C_FLOAT64 > mVslowPrint
CMatrix< C_FLOAT64 > mVslowSpacePrint
CMatrix< C_FLOAT64 > mVfastSpacePrint
CMatrix< C_FLOAT64 > mVslowMetabPrint

Friends

CTSSAMethodCTSSAMethod::createTSSAMethod (CCopasiMethod::SubType subType, CTSSAProblem *pProblem)

Constructor & Destructor Documentation

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

Copy constructor.

Parameters:
const CILDMMethod &src
constCCopasiContainer * pParent (default: NULL)
CILDMModifiedMethod::~CILDMModifiedMethod ( )

Destructor.


Member Function Documentation

void CILDMModifiedMethod::createAnnotationsM ( )

create the CArraAnnotations for every ILDM-tab in the CQTSSAResultSubWidget input for each CArraAnnotations is a seperate CMatrix

Create the CArraAnnotations for every ILDM-tab in the CQTSSAResultSubWidget. Input for each CArraAnnotations is a seperate CMatrix.

Reimplemented from CTSSAMethod.

void CILDMModifiedMethod::deuflhard_metab ( C_INT &  slow,
C_INT &  info 
)

Deuflhard Iteration: Prove Deuflhard criteria, find consistent initial value for DAE output: info - if Deuflhard is satisfied

void CILDMModifiedMethod::emptyVectors ( )

empty every vector to be able to fill them with new values for a new calculation also nullify the step counter

Empty every vector to be able to fill them with new values for a new calculation. Also nullify the step counter.

Reimplemented from CTSSAMethod.

void CILDMModifiedMethod::evalsort ( C_FLOAT64 *  reval,
C_INT *  index,
const C_INT &  dim 
)

EVALSORT for vector sorting

const CArrayAnnotation* CILDMModifiedMethod::getVfastSpacePrintAnn ( ) const [inline]
const CArrayAnnotation* CILDMModifiedMethod::getVslowMetabPrintAnn ( ) const [inline]
const CArrayAnnotation* CILDMModifiedMethod::getVslowPrintAnn ( ) const [inline]

return CArrayAnnotation for visualization in ILDM-tab in the CQTSSAResultSubWidget

const CArrayAnnotation* CILDMModifiedMethod::getVslowSpacePrintAnn ( ) const [inline]
void CILDMModifiedMethod::initializeParameter ( ) [virtual]

Intialize the method parameter

Reimplemented from CTSSAMethod.

void CILDMModifiedMethod::newton_for_timestep ( C_INT  metabolite_number,
C_FLOAT64 &  y_consistent,
C_INT &  info 
)

NEWTON for "postprove": Prove of "fast" varibles Output: y_consistent, info

void CILDMModifiedMethod::newton_new ( C_INT *  index_metab,
C_INT &  slow,
C_INT &  info 
)
void CILDMModifiedMethod::printResult ( std::ostream *  ostream) const [virtual]

print of the standart report sequence for ILDM Method

Parameters:
std::ostream* ostream

Reimplemented from CCopasiMethod.

bool CILDMModifiedMethod::setAnnotationM ( int  step) [virtual]

set the every CArrayAnnotation for the requested step set the desription of CArayAnnotation for both dimensions

Set the every CArrayAnnotation for the requested step. Set also the desription of CArayAnnotation for both dimensions:

  • dimension description could consists of some std::srings some strings contain the Time Scale values for requested step
  • dimension description could consists of arrays of CommonNames

Implements CTSSAMethod.

void CILDMModifiedMethod::setVectors ( int  slowMode)

upgrade all vectors with values from actually calculalion for current step

Reimplemented from CTSSAMethod.

void CILDMModifiedMethod::start ( const CState initialState) [virtual]

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

Parameters:
const CState *initialState

Reimplemented from CTSSAMethod.

void CILDMModifiedMethod::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

Schur Decomposition of Jacobian (reordered). Output: mQ - transformation matrix mR - block upper triangular matrix (with ordered eigenvalues)

Schur transformation of Jacobian

end of the block %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Begin of the block %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

end of the of block %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Reimplemented from CTSSAMethod.


Friends And Related Function Documentation

CTSSAMethod* CTSSAMethod::createTSSAMethod ( CCopasiMethod::SubType  subType,
CTSSAProblem pProblem 
) [friend]

Member Data Documentation

std::vector< CMatrix<C_FLOAT64> > CILDMModifiedMethod::mVec_mVslow

vectors contain whole data for all calculationsteps

input for every CArraAnnotations contain data for single stepcalculation

required for creation of above listed CArrayAnnotation

CArraAnnotations for every ILDM-tab in the CQTSSAResultSubWidget


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