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

CMixedReactionNetwork Class Reference

#include <MixedReactionNetwork.h>

Inheritance diagram for CMixedReactionNetwork:

Inheritance graph
[legend]
Collaboration diagram for CMixedReactionNetwork:

Collaboration graph
[legend]
List of all members.

Public Methods

 CMixedReactionNetwork ()
 CMixedReactionNetwork (ReactionNetwork *pReactionNetwork, intVector stocReactionList)
virtual ~CMixedReactionNetwork ()
int GetNumberOfChemicals () const
int GetNumberOfReactions () const
int GetNumberOfRateConstants () const
ChemicalGetChemical (int chemicalNumber)
RateConstantGetRateConstant (int rateConstantNumber)
void ChemicalReset ()
void RateConstantReset ()
void SetAmount (int chemicalNumber, double amount)
vpReactionGetReactions ()
ReactionGetReaction (int reactionNumber)
vpReactionGetStochasticReactions ()
ReactionGetStochasticReaction (int reactionNumber)
vpReactionGetDeterministicReactions ()
ReactionGetDeterministicReaction (int reactionNumber)
vpChemicalGetChemicals ()
vpRateConstantGetRateConstants ()
int GetNumberOfStochasticReactions () const
int GetNumberOfDeterministicReactions () const
dblVectorGetReactionRates ()
dblVectorGetStochasticReactionRates ()
dblVectorGetDeterministicReactionRates ()
double GetTotalStochasticReactionProbability ()

Private Attributes

ReactionNetworkm_pReactionNetwork
intVector m_viStochasticList
vpReaction m_vpStochasticReactions
vpReaction m_vpDeterministicReactions
dblVector m_dStochasticReactionRates
dblVector m_dDeterministicReactionRates

Constructor & Destructor Documentation

CMixedReactionNetwork::CMixedReactionNetwork  
 

Definition at line 11 of file MixedReactionNetwork.cpp.

CMixedReactionNetwork::CMixedReactionNetwork ReactionNetwork   pReactionNetwork,
intVector    stocReactionList
 

Definition at line 16 of file MixedReactionNetwork.cpp.

References ReactionNetwork::GetNumberOfReactions, ReactionNetwork::GetReactions, intVector, m_dDeterministicReactionRates, m_dStochasticReactionRates, m_pReactionNetwork, m_viStochasticList, m_vpDeterministicReactions, and m_vpStochasticReactions.

CMixedReactionNetwork::~CMixedReactionNetwork   [virtual]
 

Definition at line 45 of file MixedReactionNetwork.cpp.


Member Function Documentation

void CMixedReactionNetwork::ChemicalReset   [virtual]
 

Reimplemented from ReactionNetwork.

Definition at line 77 of file MixedReactionNetwork.cpp.

References ReactionNetwork::GetChemical, GetNumberOfChemicals, m_pReactionNetwork, and Chemical::Reset.

Chemical * CMixedReactionNetwork::GetChemical int    chemicalNumber [virtual]
 

Reimplemented from ReactionNetwork.

Definition at line 67 of file MixedReactionNetwork.cpp.

References ReactionNetwork::GetChemical, and m_pReactionNetwork.

Referenced by CTauNetwork::GetChemical.

vpChemical * CMixedReactionNetwork::GetChemicals   [virtual]
 

Reimplemented from ReactionNetwork.

Definition at line 128 of file MixedReactionNetwork.cpp.

References ReactionNetwork::GetChemicals, m_pReactionNetwork, and vpChemical.

Referenced by CTauNetwork::GetChemicals.

Reaction * CMixedReactionNetwork::GetDeterministicReaction int    reactionNumber
 

Definition at line 123 of file MixedReactionNetwork.cpp.

References m_vpDeterministicReactions.

dblVector * CMixedReactionNetwork::GetDeterministicReactionRates  
 

Definition at line 192 of file MixedReactionNetwork.cpp.

References dblVector, GetNumberOfDeterministicReactions, m_dDeterministicReactionRates, and m_vpDeterministicReactions.

vpReaction * CMixedReactionNetwork::GetDeterministicReactions  
 

Definition at line 118 of file MixedReactionNetwork.cpp.

References m_vpDeterministicReactions, and vpReaction.

int CMixedReactionNetwork::GetNumberOfChemicals   const [virtual]
 

Reimplemented from ReactionNetwork.

Definition at line 50 of file MixedReactionNetwork.cpp.

References ReactionNetwork::GetNumberOfChemicals, and m_pReactionNetwork.

Referenced by ChemicalReset, CTauNetwork::CTauNetwork, CTauNetwork::GetNumberOfChemicals, and CMixedReactionMover::Move.

int CMixedReactionNetwork::GetNumberOfDeterministicReactions   const
 

Definition at line 143 of file MixedReactionNetwork.cpp.

References m_vpDeterministicReactions.

Referenced by GetDeterministicReactionRates.

int CMixedReactionNetwork::GetNumberOfRateConstants   const [virtual]
 

Reimplemented from ReactionNetwork.

Definition at line 62 of file MixedReactionNetwork.cpp.

References ReactionNetwork::GetNumberOfRateConstants, and m_pReactionNetwork.

Referenced by RateConstantReset.

int CMixedReactionNetwork::GetNumberOfReactions   const [virtual]
 

Reimplemented from ReactionNetwork.

Definition at line 57 of file MixedReactionNetwork.cpp.

References ReactionNetwork::GetNumberOfReactions, and m_pReactionNetwork.

Referenced by CTauNetwork::GetNumberOfReactions, and CMixedReactionMover::Move.

int CMixedReactionNetwork::GetNumberOfStochasticReactions   const
 

Definition at line 138 of file MixedReactionNetwork.cpp.

References m_vpStochasticReactions.

Referenced by CMixedReactionMover::DoStochasticMove, GetStochasticReactionRates, and GetTotalStochasticReactionProbability.

RateConstant * CMixedReactionNetwork::GetRateConstant int    rateConstantNumber [virtual]
 

Reimplemented from ReactionNetwork.

Definition at line 72 of file MixedReactionNetwork.cpp.

References ReactionNetwork::GetRateConstant, and m_pReactionNetwork.

vpRateConstant * CMixedReactionNetwork::GetRateConstants   [virtual]
 

Reimplemented from ReactionNetwork.

Definition at line 133 of file MixedReactionNetwork.cpp.

References ReactionNetwork::GetRateConstants, m_pReactionNetwork, and vpRateConstant.

Reaction * CMixedReactionNetwork::GetReaction int    reactionNumber [virtual]
 

Reimplemented from ReactionNetwork.

Definition at line 103 of file MixedReactionNetwork.cpp.

References ReactionNetwork::GetReaction, and m_pReactionNetwork.

Referenced by CMixedReactionMover::Move.

dblVector * CMixedReactionNetwork::GetReactionRates   [virtual]
 

Reimplemented from ReactionNetwork.

Definition at line 148 of file MixedReactionNetwork.cpp.

References dblVector, ReactionNetwork::GetNumberOfReactions, Reaction::GetRate, ReactionNetwork::GetReaction, m_pReactionNetwork, m_viStochasticList, and ReactionNetwork::reactionRates.

Referenced by CTauNetwork::GetReactionRates.

vpReaction * CMixedReactionNetwork::GetReactions   [virtual]
 

Reimplemented from ReactionNetwork.

Definition at line 98 of file MixedReactionNetwork.cpp.

References ReactionNetwork::GetReactions, m_pReactionNetwork, and vpReaction.

Referenced by CTauNetwork::GetReactions.

Reaction * CMixedReactionNetwork::GetStochasticReaction int    reactionNumber
 

Definition at line 113 of file MixedReactionNetwork.cpp.

References m_vpStochasticReactions.

Referenced by CMixedReactionMover::DoStochasticMove, and GetTotalStochasticReactionProbability.

dblVector * CMixedReactionNetwork::GetStochasticReactionRates  
 

Definition at line 181 of file MixedReactionNetwork.cpp.

References dblVector, GetNumberOfStochasticReactions, m_dStochasticReactionRates, and m_vpStochasticReactions.

Referenced by CMixedReactionMover::DoStochasticMove.

vpReaction * CMixedReactionNetwork::GetStochasticReactions  
 

Definition at line 108 of file MixedReactionNetwork.cpp.

References m_vpStochasticReactions, and vpReaction.

double CMixedReactionNetwork::GetTotalStochasticReactionProbability  
 

Definition at line 203 of file MixedReactionNetwork.cpp.

References GetNumberOfStochasticReactions, Reaction::GetRate, and GetStochasticReaction.

Referenced by CTauNetwork::GetReactionRates, and CMixedReactionMover::Move.

void CMixedReactionNetwork::RateConstantReset   [virtual]
 

Reimplemented from ReactionNetwork.

Definition at line 85 of file MixedReactionNetwork.cpp.

References GetNumberOfRateConstants, ReactionNetwork::GetRateConstant, m_pReactionNetwork, and RateConstant::Reset.

void CMixedReactionNetwork::SetAmount int    chemicalNumber,
double    amount
[virtual]
 

Reimplemented from ReactionNetwork.

Definition at line 93 of file MixedReactionNetwork.cpp.

References ReactionNetwork::GetChemical, m_pReactionNetwork, and Chemical::SetAmount.


Member Data Documentation

dblVector CMixedReactionNetwork::m_dDeterministicReactionRates [private]
 

Definition at line 50 of file MixedReactionNetwork.h.

Referenced by CMixedReactionNetwork, and GetDeterministicReactionRates.

dblVector CMixedReactionNetwork::m_dStochasticReactionRates [private]
 

Definition at line 49 of file MixedReactionNetwork.h.

Referenced by CMixedReactionNetwork, and GetStochasticReactionRates.

ReactionNetwork* CMixedReactionNetwork::m_pReactionNetwork [private]
 

Definition at line 45 of file MixedReactionNetwork.h.

Referenced by ChemicalReset, CMixedReactionNetwork, GetChemical, GetChemicals, GetNumberOfChemicals, GetNumberOfRateConstants, GetNumberOfReactions, GetRateConstant, GetRateConstants, GetReaction, GetReactionRates, GetReactions, RateConstantReset, and SetAmount.

intVector CMixedReactionNetwork::m_viStochasticList [private]
 

Definition at line 46 of file MixedReactionNetwork.h.

Referenced by CMixedReactionNetwork, and GetReactionRates.

vpReaction CMixedReactionNetwork::m_vpDeterministicReactions [private]
 

Definition at line 48 of file MixedReactionNetwork.h.

Referenced by CMixedReactionNetwork, GetDeterministicReaction, GetDeterministicReactionRates, GetDeterministicReactions, and GetNumberOfDeterministicReactions.

vpReaction CMixedReactionNetwork::m_vpStochasticReactions [private]
 

Definition at line 47 of file MixedReactionNetwork.h.

Referenced by CMixedReactionNetwork, GetNumberOfStochasticReactions, GetStochasticReaction, GetStochasticReactionRates, and GetStochasticReactions.


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