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

CStiffBulirschStoerMover Class Reference

#include <StiffBulirschStoerMover.h>

Inheritance diagram for CStiffBulirschStoerMover:

Inheritance graph
[legend]
Collaboration diagram for CStiffBulirschStoerMover:

Collaboration graph
[legend]
List of all members.

Public Methods

 CStiffBulirschStoerMover (double frequency, double stepSize, double eps=1.0e-05)
virtual ~CStiffBulirschStoerMover (void)
void StiffBSStep (int nRHS, double *y, double *dydt)
void SemiImplicitMidpoint (int nRHS, double *y, double *dydt, double **dfdy, int nStep, double *yout)
void PolynomialExtrapolation (int nRHS, int iest, double xest, double *yest, double *yz, double *dy, double *x, double **d)
void LUSolveLinearSystem (int nRHS, double **a, double *b)
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_scdTINY = 1.0e-30
const int m_sciIMAXX = 8
const int m_sciKMAXX = 7
const double m_scdSAFE1 = 0.25
const double m_scdSAFE2 = 0.7
const double m_scdREDMAX = 1.0e-05
const double m_scdREDMIN = 0.7
const double m_scdSCALMX = 0.1

Constructor & Destructor Documentation

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

Definition at line 20 of file StiffBulirschStoerMover.cpp.

References m_dEps, m_dInitialStepSize, m_dLastStep, and m_dNextStep.

CStiffBulirschStoerMover::~CStiffBulirschStoerMover void    [virtual]
 

Definition at line 29 of file StiffBulirschStoerMover.cpp.


Member Function Documentation

void CStiffBulirschStoerMover::LUSolveLinearSystem int    nRHS,
double **    a,
double *    b
 

Definition at line 471 of file StiffBulirschStoerMover.cpp.

References DGETRF, and DGETRS.

Referenced by SemiImplicitMidpoint.

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

Implements CDifferentialEquationMover.

Definition at line 33 of file StiffBulirschStoerMover.cpp.

References __max, __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, CReactionMover::MoveTimeIsZero, Subject::Notify, Chemical::SetAmount, CReactionMover::SetMaxStepSize, CReactionMover::SetMinStepSize, and StiffBSStep.

void CStiffBulirschStoerMover::PolynomialExtrapolation int    nRHS,
int    iest,
double    xest,
double *    yest,
double *    yz,
double *    dy,
double *    x,
double **    d
 

Definition at line 423 of file StiffBulirschStoerMover.cpp.

Referenced by StiffBSStep.

void CStiffBulirschStoerMover::SemiImplicitMidpoint int    nRHS,
double *    y,
double *    dydt,
double **    dfdy,
int    nStep,
double *    yout
 

Definition at line 347 of file StiffBulirschStoerMover.cpp.

References CDifferentialEquationMover::ComputeDerivatives, LUSolveLinearSystem, CDifferentialEquationMover::m_dStepSize, and CReactionMover::m_dTime.

Referenced by StiffBSStep.

void CStiffBulirschStoerMover::StiffBSStep int    nRHS,
double *    y,
double *    dydt
 

Definition at line 132 of file StiffBulirschStoerMover.cpp.

References __max, __min, CDifferentialEquationMover::ComputeDerivatives, CDifferentialEquationMover::ComputeJacobian, m_dEps, m_dLastStep, m_dNextStep, CDifferentialEquationMover::m_dStepSize, CReactionMover::m_dTime, m_pdError, m_pdScale, m_scdREDMAX, m_scdREDMIN, m_scdSAFE1, m_scdSAFE2, m_scdSCALMX, m_scdTINY, m_sciIMAXX, m_sciKMAXX, PolynomialExtrapolation, and SemiImplicitMidpoint.

Referenced by Move.


Member Data Documentation

double CStiffBulirschStoerMover::m_dEps [protected]
 

Definition at line 31 of file StiffBulirschStoerMover.h.

Referenced by CStiffBulirschStoerMover, and StiffBSStep.

double CStiffBulirschStoerMover::m_dInitialStepSize [protected]
 

Definition at line 32 of file StiffBulirschStoerMover.h.

Referenced by CStiffBulirschStoerMover, and Move.

double CStiffBulirschStoerMover::m_dLastStep [protected]
 

Definition at line 32 of file StiffBulirschStoerMover.h.

Referenced by CStiffBulirschStoerMover, Move, and StiffBSStep.

double CStiffBulirschStoerMover::m_dNextStep [protected]
 

Definition at line 32 of file StiffBulirschStoerMover.h.

Referenced by CStiffBulirschStoerMover, Move, and StiffBSStep.

double* CStiffBulirschStoerMover::m_pdError [protected]
 

Definition at line 29 of file StiffBulirschStoerMover.h.

Referenced by Move, and StiffBSStep.

double* CStiffBulirschStoerMover::m_pdScale [protected]
 

Definition at line 30 of file StiffBulirschStoerMover.h.

Referenced by Move, and StiffBSStep.

const double CStiffBulirschStoerMover::m_scdREDMAX = 1.0e-05 [static, protected]
 

Definition at line 14 of file StiffBulirschStoerMover.cpp.

Referenced by StiffBSStep.

const double CStiffBulirschStoerMover::m_scdREDMIN = 0.7 [static, protected]
 

Definition at line 16 of file StiffBulirschStoerMover.cpp.

Referenced by StiffBSStep.

const double CStiffBulirschStoerMover::m_scdSAFE1 = 0.25 [static, protected]
 

Definition at line 10 of file StiffBulirschStoerMover.cpp.

Referenced by StiffBSStep.

const double CStiffBulirschStoerMover::m_scdSAFE2 = 0.7 [static, protected]
 

Definition at line 12 of file StiffBulirschStoerMover.cpp.

Referenced by StiffBSStep.

const double CStiffBulirschStoerMover::m_scdSCALMX = 0.1 [static, protected]
 

Definition at line 18 of file StiffBulirschStoerMover.cpp.

Referenced by StiffBSStep.

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

Definition at line 3 of file StiffBulirschStoerMover.cpp.

Referenced by StiffBSStep.

const int CStiffBulirschStoerMover::m_sciIMAXX = 8 [static, protected]
 

Definition at line 8 of file StiffBulirschStoerMover.cpp.

Referenced by StiffBSStep.

const int CStiffBulirschStoerMover::m_sciKMAXX = 7 [static, protected]
 

Definition at line 5 of file StiffBulirschStoerMover.cpp.

Referenced by StiffBSStep.


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