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

CRK2ExplicitEulerHybridMover Class Reference

#include <RK2ExplicitEulerHybridMover.h>

Inheritance diagram for CRK2ExplicitEulerHybridMover:

Inheritance graph
[legend]
Collaboration diagram for CRK2ExplicitEulerHybridMover:

Collaboration graph
[legend]
List of all members.

Public Methods

 CRK2ExplicitEulerHybridMover (double tolerance=1.0e-4, double stepSize=1.0e-4)
virtual ~CRK2ExplicitEulerHybridMover ()
void Move (double xInitial, double xFinal, ReactionNetwork *pReactionNetwork)
void HybridStep (int nRHS, double *y, double *dydt)
double SetStepScale (int nRHS)

Private Attributes

double * m_pdLocalError
double m_dEps

Static Private Attributes

const double m_scdAlpha = 0.74

Constructor & Destructor Documentation

CRK2ExplicitEulerHybridMover::CRK2ExplicitEulerHybridMover double    tolerance = 1.0e-4,
double    stepSize = 1.0e-4
 

Definition at line 26 of file RK2ExplicitEulerHybridMover.cpp.

References m_dEps.

CRK2ExplicitEulerHybridMover::~CRK2ExplicitEulerHybridMover   [virtual]
 

Definition at line 32 of file RK2ExplicitEulerHybridMover.cpp.


Member Function Documentation

void CRK2ExplicitEulerHybridMover::HybridStep int    nRHS,
double *    y,
double *    dydt
 

Definition at line 100 of file RK2ExplicitEulerHybridMover.cpp.

References CDifferentialEquationMover::ComputeDerivatives, CDifferentialEquationMover::m_dStepSize, m_pdLocalError, and m_scdAlpha.

Referenced by Move.

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

Implements CDifferentialEquationMover.

Definition at line 37 of file RK2ExplicitEulerHybridMover.cpp.

References Chemical::GetAmount, ReactionNetwork::GetChemical, ReactionNetwork::GetNumberOfChemicals, HybridStep, CDifferentialEquationMover::m_dStepSize, CReactionMover::m_dTime, CReactionMover::m_iCount, m_pdLocalError, CReactionMover::m_pReactionNetwork, CReactionMover::MoveTimeIsZero, Subject::Notify, Chemical::SetAmount, and SetStepScale.

double CRK2ExplicitEulerHybridMover::SetStepScale int    nRHS
 

Definition at line 146 of file RK2ExplicitEulerHybridMover.cpp.

References m_dEps, and m_pdLocalError.

Referenced by Move.


Member Data Documentation

double CRK2ExplicitEulerHybridMover::m_dEps [private]
 

Definition at line 28 of file RK2ExplicitEulerHybridMover.h.

Referenced by CRK2ExplicitEulerHybridMover, and SetStepScale.

double* CRK2ExplicitEulerHybridMover::m_pdLocalError [private]
 

Definition at line 27 of file RK2ExplicitEulerHybridMover.h.

Referenced by HybridStep, Move, and SetStepScale.

const double CRK2ExplicitEulerHybridMover::m_scdAlpha = 0.74 [static, private]
 

Definition at line 20 of file RK2ExplicitEulerHybridMover.cpp.

Referenced by HybridStep.


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