COPASI API  4.16.103
Public Member Functions | Public Attributes | List of all members
CTrajAdaptiveSA::CReactionDependencies Class Reference
Collaboration diagram for CTrajAdaptiveSA::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< size_t > mMethodSpeciesIndex
 
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 42 of file CTrajAdaptiveSA.h.

Constructor & Destructor Documentation

CTrajAdaptiveSA::CReactionDependencies::CReactionDependencies ( )

Default constructor

Definition at line 32 of file CTrajAdaptiveSA.cpp.

32  :
35  mMethodSpecies(0),
36  mModelSpecies(0),
37  mCalculations(),
42  mpParticleFlux(NULL)
43 {}
std::vector< Refresh * > mCalculations
CVector< C_FLOAT64 * > mMethodSubstrates
CTrajAdaptiveSA::CReactionDependencies::CReactionDependencies ( const CReactionDependencies src)

Copy constructor

Parameters
constCReactionDependencies & src

Definition at line 45 of file CTrajAdaptiveSA.cpp.

45  :
46  mMethodSpeciesIndex(src.mMethodSpeciesIndex),
47  mSpeciesMultiplier(src.mSpeciesMultiplier),
48  mMethodSpecies(src.mMethodSpecies),
49  mModelSpecies(src.mModelSpecies),
50  mCalculations(src.mCalculations),
51  mDependentReactions(src.mDependentReactions),
52  mSubstrateMultiplier(src.mSubstrateMultiplier),
53  mMethodSubstrates(src.mMethodSubstrates),
54  mModelSubstrates(src.mModelSubstrates),
55  mpParticleFlux(src.mpParticleFlux)
56 {}
std::vector< Refresh * > mCalculations
CVector< C_FLOAT64 * > mMethodSubstrates
CTrajAdaptiveSA::CReactionDependencies::~CReactionDependencies ( )

Destructor

Definition at line 58 of file CTrajAdaptiveSA.cpp.

59 {}

Member Function Documentation

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

Assignment operator

Parameters
constCReactionDependencies & rhs
Returns
CReactionDependencies &

Definition at line 61 of file CTrajAdaptiveSA.cpp.

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

62 {
63  mSpeciesMultiplier = rhs.mSpeciesMultiplier;
64  mMethodSpecies = rhs.mMethodSpecies;
65  mModelSpecies = rhs.mModelSpecies;
66  mCalculations = rhs.mCalculations;
67  mDependentReactions = rhs.mDependentReactions;
68  mSubstrateMultiplier = rhs.mSubstrateMultiplier;
69  mMethodSubstrates = rhs.mMethodSubstrates;
70  mModelSubstrates = rhs.mModelSubstrates;
71  mpParticleFlux = rhs.mpParticleFlux;
72 
73  return * this;
74 }
std::vector< Refresh * > mCalculations
CVector< C_FLOAT64 * > mMethodSubstrates

Member Data Documentation

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

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

Definition at line 93 of file CTrajAdaptiveSA.h.

Referenced by CTrajAdaptiveSA::doSingleSSAStep(), and operator=().

CVector< size_t > CTrajAdaptiveSA::CReactionDependencies::mDependentReactions

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

Definition at line 98 of file CTrajAdaptiveSA.h.

Referenced by CTrajAdaptiveSA::doSingleSSAStep(), and operator=().

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

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

Definition at line 83 of file CTrajAdaptiveSA.h.

Referenced by CTrajAdaptiveSA::doSingleSSAStep(), and operator=().

CVector< size_t > CTrajAdaptiveSA::CReactionDependencies::mMethodSpeciesIndex

Species Index

Definition at line 73 of file CTrajAdaptiveSA.h.

Referenced by CTrajAdaptiveSA::doSingleTauLeapStep().

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

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

Definition at line 108 of file CTrajAdaptiveSA.h.

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

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

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

Definition at line 88 of file CTrajAdaptiveSA.h.

Referenced by CTrajAdaptiveSA::doSingleSSAStep(), and operator=().

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

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

Definition at line 113 of file CTrajAdaptiveSA.h.

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

C_FLOAT64* CTrajAdaptiveSA::CReactionDependencies::mpParticleFlux

A pointer to the particle flux of the reaction.

Definition at line 118 of file CTrajAdaptiveSA.h.

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

CVector< C_FLOAT64 > CTrajAdaptiveSA::CReactionDependencies::mSpeciesMultiplier

Vector of multiplier to calculate the new state

Definition at line 78 of file CTrajAdaptiveSA.h.

Referenced by CTrajAdaptiveSA::doSingleSSAStep(), CTrajAdaptiveSA::doSingleTauLeapStep(), and operator=().

CVector< C_FLOAT64 > CTrajAdaptiveSA::CReactionDependencies::mSubstrateMultiplier

Vector of multiplier to calculate the new propensity.

Definition at line 103 of file CTrajAdaptiveSA.h.

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


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