COPASI API  4.16.103
Public Member Functions | Public Attributes | List of all members
CStochDirectMethod::CReactionDependencies Class Reference
Collaboration diagram for CStochDirectMethod::CReactionDependencies:
Collaboration graph
[legend]

Public Member Functions

 CReactionDependencies ()
 
 CReactionDependencies (const CReactionDependencies &src)
 
CReactionDependenciesoperator= (const CReactionDependencies &rhs)
 
 ~CReactionDependencies ()
 

Public Attributes

std::vector< Refresh * > mCalculations
 
CVector< size_t > mDependentReactions
 
CVector< C_FLOAT64 * > mMethodSpecies
 
CVector< C_FLOAT64 * > mMethodSubstrates
 
CVector< C_FLOAT64 * > mModelSpecies
 
CVector< C_FLOAT64 * > mModelSubstrates
 
C_FLOAT64mpParticleFlux
 
CVector< C_FLOAT64mSpeciesMultiplier
 
CVector< C_FLOAT64mSubstrateMultiplier
 

Detailed Description

Definition at line 45 of file CStochDirectMethod.h.

Constructor & Destructor Documentation

CStochDirectMethod::CReactionDependencies::CReactionDependencies ( )

Default constructor

Definition at line 44 of file CStochDirectMethod.cpp.

CStochDirectMethod::CReactionDependencies::CReactionDependencies ( const CReactionDependencies src)

Copy constructor

Parameters
constCReactionDependencies & src

Definition at line 56 of file CStochDirectMethod.cpp.

56  :
57  mSpeciesMultiplier(src.mSpeciesMultiplier),
58  mMethodSpecies(src.mMethodSpecies),
59  mModelSpecies(src.mModelSpecies),
60  mCalculations(src.mCalculations),
61  mDependentReactions(src.mDependentReactions),
62  mSubstrateMultiplier(src.mSubstrateMultiplier),
63  mMethodSubstrates(src.mMethodSubstrates),
64  mModelSubstrates(src.mModelSubstrates),
65  mpParticleFlux(src.mpParticleFlux)
66 {}
CStochDirectMethod::CReactionDependencies::~CReactionDependencies ( )

Destructor

Definition at line 68 of file CStochDirectMethod.cpp.

69 {}

Member Function Documentation

CStochDirectMethod::CReactionDependencies & CStochDirectMethod::CReactionDependencies::operator= ( const CReactionDependencies rhs)

Assignment operator

Parameters
constCReactionDependencies & rhs
Returns
CReactionDependencies &

Definition at line 71 of file CStochDirectMethod.cpp.

References mCalculations, mDependentReactions, mMethodSpecies, mMethodSubstrates, mModelSpecies, mModelSubstrates, mpParticleFlux, mSpeciesMultiplier, and mSubstrateMultiplier.

72 {
73  mSpeciesMultiplier = rhs.mSpeciesMultiplier;
74  mMethodSpecies = rhs.mMethodSpecies;
75  mModelSpecies = rhs.mModelSpecies;
76  mCalculations = rhs.mCalculations;
77  mDependentReactions = rhs.mDependentReactions;
78  mSubstrateMultiplier = rhs.mSubstrateMultiplier;
79  mMethodSubstrates = rhs.mMethodSubstrates;
80  mModelSubstrates = rhs.mModelSubstrates;
81  mpParticleFlux = rhs.mpParticleFlux;
82 
83  return * this;
84 }

Member Data Documentation

std::vector< Refresh * > CStochDirectMethod::CReactionDependencies::mCalculations

Vector of refresh methods which need to be executed to update all values required for simulation

Definition at line 92 of file CStochDirectMethod.h.

Referenced by CStochDirectMethod::doSingleStep(), and operator=().

CVector< size_t > CStochDirectMethod::CReactionDependencies::mDependentReactions

A vector of indexes of reaction which propensities have to be recalculated.

Definition at line 97 of file CStochDirectMethod.h.

Referenced by CStochDirectMethod::doSingleStep(), and operator=().

CVector< C_FLOAT64 * > CStochDirectMethod::CReactionDependencies::mMethodSpecies

Vector of pointers to method internal species values to calculate the new state.

Definition at line 82 of file CStochDirectMethod.h.

Referenced by CStochDirectMethod::doSingleStep(), and operator=().

CVector< C_FLOAT64 * > CStochDirectMethod::CReactionDependencies::mMethodSubstrates

Vector of pointers to method internal species values to calculate the new propensity.

Definition at line 107 of file CStochDirectMethod.h.

Referenced by CStochDirectMethod::calculateAmu(), and operator=().

CVector< C_FLOAT64 * > CStochDirectMethod::CReactionDependencies::mModelSpecies

Vector of pointers to model species values to calculate the new state.

Definition at line 87 of file CStochDirectMethod.h.

Referenced by CStochDirectMethod::doSingleStep(), and operator=().

CVector< C_FLOAT64 * > CStochDirectMethod::CReactionDependencies::mModelSubstrates

Vector of pointers to model species values to calculate the new propensity.

Definition at line 112 of file CStochDirectMethod.h.

Referenced by CStochDirectMethod::calculateAmu(), and operator=().

C_FLOAT64* CStochDirectMethod::CReactionDependencies::mpParticleFlux

A pointer to the particle flux of the reaction.

Definition at line 117 of file CStochDirectMethod.h.

Referenced by CStochDirectMethod::calculateAmu(), and operator=().

CVector< C_FLOAT64 > CStochDirectMethod::CReactionDependencies::mSpeciesMultiplier

Vector of multiplier to calculate the new state

Definition at line 77 of file CStochDirectMethod.h.

Referenced by CStochDirectMethod::doSingleStep(), and operator=().

CVector< C_FLOAT64 > CStochDirectMethod::CReactionDependencies::mSubstrateMultiplier

Vector of multiplier to calculate the new propensity.

Definition at line 102 of file CStochDirectMethod.h.

Referenced by CStochDirectMethod::calculateAmu(), and operator=().


The documentation for this class was generated from the following files: