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

CMixedReactionMover Class Reference

#include <MixedReactionMover.h>

Inheritance diagram for CMixedReactionMover:

Inheritance graph
[legend]
Collaboration diagram for CMixedReactionMover:

Collaboration graph
[legend]
List of all members.

Public Methods

 CMixedReactionMover ()
 CMixedReactionMover (int seed, CDifferentialEquationMover *pODEMover, double absTol)
virtual ~CMixedReactionMover ()
void Move (double xInitial, double xFinal, ReactionNetwork *pReactionNetwork)
void DoStochasticMove (double dRand)

Private Attributes

CDifferentialEquationMoverm_pODEMover
CMixedReactionNetworkm_pMixedReactionNetwork
CTauNetworkm_pTauNetwork
Randm_pRNG
double m_dAbsTol

Constructor & Destructor Documentation

CMixedReactionMover::CMixedReactionMover  
 

Definition at line 11 of file MixedReactionMover.cpp.

CMixedReactionMover::CMixedReactionMover int    seed,
CDifferentialEquationMover   pODEMover,
double    absTol
 

Definition at line 16 of file MixedReactionMover.cpp.

References m_dAbsTol, m_pODEMover, and m_pRNG.

CMixedReactionMover::~CMixedReactionMover   [virtual]
 

Definition at line 24 of file MixedReactionMover.cpp.

References m_pRNG.


Member Function Documentation

void CMixedReactionMover::DoStochasticMove double    dRand
 

Definition at line 159 of file MixedReactionMover.cpp.

References Reaction::DoReactionOnce, Reaction::GetChemicals, Reaction::GetNumberChangedByReaction, CMixedReactionNetwork::GetNumberOfStochasticReactions, CMixedReactionNetwork::GetStochasticReaction, CMixedReactionNetwork::GetStochasticReactionRates, and m_pMixedReactionNetwork.

Referenced by Move.

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

Implements CReactionMover.

Definition at line 29 of file MixedReactionMover.cpp.

References __min, DoStochasticMove, Chemical::GetAmount, ReactionNetwork::GetChemical, CMixedReactionNetwork::GetNumberOfChemicals, CMixedReactionNetwork::GetNumberOfReactions, Reaction::GetRate, CMixedReactionNetwork::GetReaction, CDifferentialEquationMover::GetStepSize, CTauNetwork::GetTOfTau, CMixedReactionNetwork::GetTotalStochasticReactionProbability, m_dAbsTol, CReactionMover::m_dTime, CReactionMover::m_iCount, m_pMixedReactionNetwork, m_pODEMover, CReactionMover::m_pReactionNetwork, m_pRNG, m_pTauNetwork, CDifferentialEquationMover::Move, Subject::Notify, CDifferentialEquationMover::ResetStepSize, Chemical::SetAmount, CDifferentialEquationMover::SetStepSize, and Rand::uniform.


Member Data Documentation

double CMixedReactionMover::m_dAbsTol [private]
 

Definition at line 42 of file MixedReactionMover.h.

Referenced by CMixedReactionMover, and Move.

CMixedReactionNetwork* CMixedReactionMover::m_pMixedReactionNetwork [private]
 

Definition at line 38 of file MixedReactionMover.h.

Referenced by DoStochasticMove, and Move.

CDifferentialEquationMover* CMixedReactionMover::m_pODEMover [private]
 

Definition at line 37 of file MixedReactionMover.h.

Referenced by CMixedReactionMover, and Move.

Rand* CMixedReactionMover::m_pRNG [private]
 

Definition at line 40 of file MixedReactionMover.h.

Referenced by CMixedReactionMover, Move, and ~CMixedReactionMover.

CTauNetwork* CMixedReactionMover::m_pTauNetwork [private]
 

Definition at line 39 of file MixedReactionMover.h.

Referenced by Move.


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