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

CQualityControlCashKarpMover Class Reference

#include <QualityControlCashKarpMover.h>

Inheritance diagram for CQualityControlCashKarpMover:

Inheritance graph
[legend]
Collaboration diagram for CQualityControlCashKarpMover:

Collaboration graph
[legend]
List of all members.

Public Methods

 CQualityControlCashKarpMover (double frequency, double stepSize, double eps=1.0e-5)
virtual ~CQualityControlCashKarpMover ()
void Stepper (int nRHS, double *y, double *dydt)
void CashKarpStep (int nRHS, double *y, double *dydt)
virtual void Move (double xInitial, double xFinal, ReactionNetwork *pReactionNetwork)

Protected Attributes

double * m_pdError
double * m_pdScale
double m_dEps
double m_dLastStep
double m_dNextStep
double m_dInitialStepSize

Static Protected Attributes

const double m_scdA [6]
const double m_scdB [6][5]
const double m_scdC [6]
const double m_scdCStar [6]
const double m_scdSAFETY = 0.9
const double m_scdPGROW = -0.2
const double m_scdPSHRINK = -0.25
const double m_scdERRCON = 1.89e-04
const double m_scdTINY = 1.0e-30

Constructor & Destructor Documentation

CQualityControlCashKarpMover::CQualityControlCashKarpMover double    frequency,
double    stepSize,
double    eps = 1.0e-5
 

Definition at line 42 of file QualityControlCashKarpMover.cpp.

References m_dEps, m_dInitialStepSize, m_dLastStep, and m_dNextStep.

CQualityControlCashKarpMover::~CQualityControlCashKarpMover   [virtual]
 

Definition at line 51 of file QualityControlCashKarpMover.cpp.


Member Function Documentation

void CQualityControlCashKarpMover::CashKarpStep int    nRHS,
double *    y,
double *    dydt
 

Definition at line 234 of file QualityControlCashKarpMover.cpp.

References CDifferentialEquationMover::ComputeDerivatives, CDifferentialEquationMover::m_dStepSize, m_pdError, m_scdB, m_scdC, and m_scdCStar.

Referenced by CSynchronizedCashKarpMover::Move, and Stepper.

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

Implements CDifferentialEquationMover.

Reimplemented in CSynchronizedCashKarpMover.

Definition at line 58 of file QualityControlCashKarpMover.cpp.

References __min, CDifferentialEquationMover::ComputeDerivatives, Chemical::GetAmount, ReactionNetwork::GetChemical, CReactionMover::GetMaxStepSize, CReactionMover::GetMinStepSize, ReactionNetwork::GetNumberOfChemicals, CReactionMover::IncrementTotalSteps, m_dInitialStepSize, m_dLastStep, m_dNextStep, CDifferentialEquationMover::m_dStepSize, CReactionMover::m_dTime, CReactionMover::m_iCount, m_pdError, m_pdScale, CReactionMover::m_pReactionNetwork, m_scdTINY, CReactionMover::MoveTimeIsZero, Subject::Notify, Chemical::SetAmount, CReactionMover::SetMaxStepSize, CReactionMover::SetMinStepSize, and Stepper.

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

Definition at line 161 of file QualityControlCashKarpMover.cpp.

References __max, __min, CashKarpStep, m_dEps, m_dLastStep, m_dNextStep, CDifferentialEquationMover::m_dStepSize, CReactionMover::m_dTime, m_pdError, m_pdScale, m_scdERRCON, m_scdPGROW, m_scdPSHRINK, and m_scdSAFETY.

Referenced by CSynchronizedCashKarpMover::Move, and Move.


Member Data Documentation

double CQualityControlCashKarpMover::m_dEps [protected]
 

Definition at line 34 of file QualityControlCashKarpMover.h.

Referenced by CQualityControlCashKarpMover, and Stepper.

double CQualityControlCashKarpMover::m_dInitialStepSize [protected]
 

Definition at line 35 of file QualityControlCashKarpMover.h.

Referenced by CQualityControlCashKarpMover, CSynchronizedCashKarpMover::Move, and Move.

double CQualityControlCashKarpMover::m_dLastStep [protected]
 

Definition at line 35 of file QualityControlCashKarpMover.h.

Referenced by CQualityControlCashKarpMover, CSynchronizedCashKarpMover::Move, Move, and Stepper.

double CQualityControlCashKarpMover::m_dNextStep [protected]
 

Definition at line 35 of file QualityControlCashKarpMover.h.

Referenced by CQualityControlCashKarpMover, CSynchronizedCashKarpMover::Move, Move, and Stepper.

double* CQualityControlCashKarpMover::m_pdError [protected]
 

Definition at line 32 of file QualityControlCashKarpMover.h.

Referenced by CashKarpStep, CSynchronizedCashKarpMover::Move, Move, and Stepper.

double* CQualityControlCashKarpMover::m_pdScale [protected]
 

Definition at line 33 of file QualityControlCashKarpMover.h.

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

const double CQualityControlCashKarpMover::m_scdA [static, protected]
 

Initial value:

 {
        0.0, 0.2, 0.3, 0.6, 1.0, 0.875  }

Definition at line 11 of file QualityControlCashKarpMover.cpp.

const double CQualityControlCashKarpMover::m_scdB [static, protected]
 

Initial value:

 {
                { 0.0,                 0.0,                  0.0,                        0.0,                           0.0                     },
                { 1.05.0,                  0.0,              0.0,                        0.0,                           0.0                     },
                { 3.040.0,                 9.040.0,      0.0,                    0.0,                           0.0                     },
                { 3.010.0,                -9.010.0,      6.05.0,             0.0,                               0.0                     },
                {-11.054.0,        5.02.0,          -70.027.0,       35.027.0,                  0.0                     },
                { 1631.055296.0,  175.0512.0,  575.013824.0,  44275.0110592.0,  253.04096.0}  }

Definition at line 14 of file QualityControlCashKarpMover.cpp.

Referenced by CashKarpStep.

const double CQualityControlCashKarpMover::m_scdC [static, protected]
 

Initial value:

 {
        37.0378.0, 0.0, 250.0621.0, 125.0594.0, 0.0, 512.01771.0 }

Definition at line 22 of file QualityControlCashKarpMover.cpp.

Referenced by CashKarpStep.

const double CQualityControlCashKarpMover::m_scdCStar [static, protected]
 

Initial value:

 {              
        2825.027648.0, 0.0, 18575.048384.0, 13525.055296.0, 277.014336.0, 0.25  }

Definition at line 25 of file QualityControlCashKarpMover.cpp.

Referenced by CashKarpStep.

const double CQualityControlCashKarpMover::m_scdERRCON = 1.89e-04 [static, protected]
 

Definition at line 28 of file QualityControlCashKarpMover.cpp.

Referenced by Stepper.

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

Definition at line 30 of file QualityControlCashKarpMover.cpp.

Referenced by Stepper.

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

Definition at line 32 of file QualityControlCashKarpMover.cpp.

Referenced by Stepper.

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

Definition at line 34 of file QualityControlCashKarpMover.cpp.

Referenced by Stepper.

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

Definition at line 36 of file QualityControlCashKarpMover.cpp.

Referenced by CSynchronizedCashKarpMover::Move, and Move.


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