Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

CQualityControlRungeKuttaMover Class Reference

#include <QualityControlRungeKuttaMover.h>

Inheritance diagram for CQualityControlRungeKuttaMover:

Inheritance graph
[legend]
Collaboration diagram for CQualityControlRungeKuttaMover:

Collaboration graph
[legend]
List of all members.

Public Methods

 CQualityControlRungeKuttaMover (double frequency, double stepSize, double eps=1.0e-05)
virtual ~CQualityControlRungeKuttaMover ()
void Stepper (int nRHS, double *y, double *dydt)
void Move (double xInitial, double xFinal, ReactionNetwork *pReactionNetwork)
void ResetStepSize ()
double GetStepSize () const
void SetStepSize (double newSize)

Protected Attributes

double m_dEps
double m_dLastStep
double m_dNextStep
double m_dInitialStepSize
double * m_pdScale

Static Protected Attributes

const double m_scdPGROW = -0.2
const double m_scdPSHRINK = -0.25
const double m_scdFCOR = 0.06666
const double m_scdSAFETY = 0.9
const double m_scdERRCON = 6.0e-4
const double m_scdTINY = 1.0e-30

Constructor & Destructor Documentation

CQualityControlRungeKuttaMover::CQualityControlRungeKuttaMover double    frequency,
double    stepSize,
double    eps = 1.0e-05
 

Definition at line 25 of file QualityControlRungeKuttaMover.cpp.

References m_dEps, m_dInitialStepSize, m_dLastStep, and m_dNextStep.

CQualityControlRungeKuttaMover::~CQualityControlRungeKuttaMover   [virtual]
 

Definition at line 34 of file QualityControlRungeKuttaMover.cpp.


Member Function Documentation

double CQualityControlRungeKuttaMover::GetStepSize   const [virtual]
 

Reimplemented from CDifferentialEquationMover.

Definition at line 44 of file QualityControlRungeKuttaMover.cpp.

References m_dInitialStepSize.

void CQualityControlRungeKuttaMover::Move double    xInitial,
double    xFinal,
ReactionNetwork   pReactionNetwork
[virtual]
 

Reimplemented from CRK4Mover.

Reimplemented in CSynchronizedRungeKuttaMover.

Definition at line 54 of file QualityControlRungeKuttaMover.cpp.

References CDifferentialEquationMover::ComputeDerivatives, Chemical::GetAmount, ReactionNetwork::GetChemical, ReactionNetwork::GetNumberOfChemicals, m_dInitialStepSize, m_dLastStep, m_dNextStep, CDifferentialEquationMover::m_dStepSize, CReactionMover::m_dTime, CReactionMover::m_iCount, m_pdScale, CReactionMover::m_pReactionNetwork, m_scdTINY, CReactionMover::MoveTimeIsZero, Subject::Notify, Chemical::SetAmount, and Stepper.

void CQualityControlRungeKuttaMover::ResetStepSize   [virtual]
 

Reimplemented from CDifferentialEquationMover.

Definition at line 39 of file QualityControlRungeKuttaMover.cpp.

References CDifferentialEquationMover::m_dDefaultStepSize, and m_dInitialStepSize.

void CQualityControlRungeKuttaMover::SetStepSize double    newSize [virtual]
 

Reimplemented from CDifferentialEquationMover.

Definition at line 49 of file QualityControlRungeKuttaMover.cpp.

References m_dInitialStepSize.

void CQualityControlRungeKuttaMover::Stepper int    nRHS,
double *    y,
double *    dydt
 

Definition at line 134 of file QualityControlRungeKuttaMover.cpp.

References CDifferentialEquationMover::ComputeDerivatives, CRK4Mover::FourthOrderStep, m_dEps, m_dLastStep, m_dNextStep, CDifferentialEquationMover::m_dStepSize, CReactionMover::m_dTime, m_pdScale, m_scdERRCON, m_scdFCOR, m_scdPGROW, m_scdPSHRINK, and m_scdSAFETY.

Referenced by CSynchronizedRungeKuttaMover::Move, and Move.


Member Data Documentation

double CQualityControlRungeKuttaMover::m_dEps [protected]
 

Definition at line 31 of file QualityControlRungeKuttaMover.h.

Referenced by CQualityControlRungeKuttaMover, and Stepper.

double CQualityControlRungeKuttaMover::m_dInitialStepSize [protected]
 

Definition at line 32 of file QualityControlRungeKuttaMover.h.

Referenced by CQualityControlRungeKuttaMover, GetStepSize, CSynchronizedRungeKuttaMover::Move, Move, ResetStepSize, and SetStepSize.

double CQualityControlRungeKuttaMover::m_dLastStep [protected]
 

Definition at line 32 of file QualityControlRungeKuttaMover.h.

Referenced by CQualityControlRungeKuttaMover, CSynchronizedRungeKuttaMover::Move, Move, and Stepper.

double CQualityControlRungeKuttaMover::m_dNextStep [protected]
 

Definition at line 32 of file QualityControlRungeKuttaMover.h.

Referenced by CQualityControlRungeKuttaMover, CSynchronizedRungeKuttaMover::Move, Move, and Stepper.

double* CQualityControlRungeKuttaMover::m_pdScale [protected]
 

Definition at line 33 of file QualityControlRungeKuttaMover.h.

Referenced by CSynchronizedRungeKuttaMover::Move, Move, and Stepper.

const double CQualityControlRungeKuttaMover::m_scdERRCON = 6.0e-4 [static, protected]
 

Definition at line 8 of file QualityControlRungeKuttaMover.cpp.

Referenced by Stepper.

const double CQualityControlRungeKuttaMover::m_scdFCOR = 0.06666 [static, protected]
 

Definition at line 10 of file QualityControlRungeKuttaMover.cpp.

Referenced by Stepper.

const double CQualityControlRungeKuttaMover::m_scdPGROW = -0.2 [static, protected]
 

Definition at line 12 of file QualityControlRungeKuttaMover.cpp.

Referenced by Stepper.

const double CQualityControlRungeKuttaMover::m_scdPSHRINK = -0.25 [static, protected]
 

Definition at line 14 of file QualityControlRungeKuttaMover.cpp.

Referenced by Stepper.

const double CQualityControlRungeKuttaMover::m_scdSAFETY = 0.9 [static, protected]
 

Definition at line 16 of file QualityControlRungeKuttaMover.cpp.

Referenced by Stepper.

const double CQualityControlRungeKuttaMover::m_scdTINY = 1.0e-30 [static, protected]
 

Definition at line 18 of file QualityControlRungeKuttaMover.cpp.

Referenced by CSynchronizedRungeKuttaMover::Move, and Move.


The documentation for this class was generated from the following files:
Generated on Mon Nov 3 10:04:55 2003 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002