MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
MMEnzymeBase Class Reference

#include <RateTerm.h>

+ Inheritance diagram for MMEnzymeBase:
+ Collaboration diagram for MMEnzymeBase:

Public Member Functions

unsigned int getEnzIndex () const
 
double getR1 () const
 Used by Zombie to return rate terms. More...
 
double getR2 () const
 Used by Zombie to return rate terms. More...
 
 MMEnzymeBase (double Km, double kcat, unsigned int enz)
 
void rescaleVolume (short comptIndex, const vector< short > &compartmentLookup, double ratio)
 
void setKcat (double kcat)
 
void setKm (double Km)
 
void setR1 (double Km)
 Used by Zombie to assign rate terms. More...
 
void setR2 (double kcat)
 Used by Zombie to assign rate terms. More...
 
void setRates (double Km, double kcat)
 
- Public Member Functions inherited from RateTerm
virtual RateTermcopyWithVolScaling (double vol, double sub, double prd) const =0
 
virtual unsigned int getReactants (vector< unsigned int > &molIndex) const =0
 
virtual double operator() (const double *S) const =0
 Computes the rate. The argument is the molecule array. More...
 
 RateTerm ()
 
virtual ~RateTerm ()
 

Protected Attributes

unsigned int enz_
 
double kcat_
 
double Km_
 

Additional Inherited Members

- Static Public Attributes inherited from RateTerm
static const double EPSILON = 1.0e-6
 

Detailed Description

Definition at line 81 of file RateTerm.h.

Constructor & Destructor Documentation

MMEnzymeBase::MMEnzymeBase ( double  Km,
double  kcat,
unsigned int  enz 
)
inline

Definition at line 84 of file RateTerm.h.

References Km_.

85  : Km_( Km ), kcat_( kcat ), enz_( enz )
86  {
87  assert( Km_ > 0.0 );
88  }
unsigned int enz_
Definition: RateTerm.h:135
double Km_
Definition: RateTerm.h:133
double kcat_
Definition: RateTerm.h:134

Member Function Documentation

unsigned int MMEnzymeBase::getEnzIndex ( ) const
inline

Definition at line 127 of file RateTerm.h.

References enz_.

128  {
129  return enz_;
130  }
unsigned int enz_
Definition: RateTerm.h:135
double MMEnzymeBase::getR1 ( ) const
inlinevirtual

Used by Zombie to return rate terms.

Implements RateTerm.

Definition at line 113 of file RateTerm.h.

References Km_.

113  {
114  return Km_;
115  }
double Km_
Definition: RateTerm.h:133
double MMEnzymeBase::getR2 ( ) const
inlinevirtual

Used by Zombie to return rate terms.

Implements RateTerm.

Definition at line 117 of file RateTerm.h.

References kcat_.

117  {
118  return kcat_;
119  }
double kcat_
Definition: RateTerm.h:134
void MMEnzymeBase::rescaleVolume ( short  comptIndex,
const vector< short > &  compartmentLookup,
double  ratio 
)
inlinevirtual

This is used to rescale the RateTerm kinetics when the compartment volume changes. This is needed because the kinetics are in extensive units, that is, mol numbers, rather than in intensive units like concentration. So when the volume changes the rate terms change. Each Rate term checks if any of its reactant molecules are affected, and if so, rescales. Ratio is newVol / oldVol

Implements RateTerm.

Definition at line 121 of file RateTerm.h.

References Km_.

123  {
124  Km_ *= ratio;
125  }
double Km_
Definition: RateTerm.h:133
void MMEnzymeBase::setKcat ( double  kcat)
inline

Definition at line 95 of file RateTerm.h.

References kcat_.

Referenced by setR2(), and setRates().

95  {
96  if ( kcat > 0 )
97  kcat_ = kcat;
98  }
double kcat_
Definition: RateTerm.h:134

+ Here is the caller graph for this function:

void MMEnzymeBase::setKm ( double  Km)
inline

Definition at line 90 of file RateTerm.h.

References Km_.

Referenced by setR1(), and setRates().

90  {
91  if ( Km > 0.0 )
92  Km_ = Km;
93  }
double Km_
Definition: RateTerm.h:133

+ Here is the caller graph for this function:

void MMEnzymeBase::setR1 ( double  k1)
inlinevirtual

Used by Zombie to assign rate terms.

Implements RateTerm.

Definition at line 105 of file RateTerm.h.

References setKm().

105  {
106  setKm( Km );
107  }
void setKm(double Km)
Definition: RateTerm.h:90

+ Here is the call graph for this function:

void MMEnzymeBase::setR2 ( double  k2)
inlinevirtual

Used by Zombie to assign rate terms.

Implements RateTerm.

Definition at line 109 of file RateTerm.h.

References setKcat().

109  {
110  setKcat( kcat );
111  }
void setKcat(double kcat)
Definition: RateTerm.h:95

+ Here is the call graph for this function:

void MMEnzymeBase::setRates ( double  k1,
double  k2 
)
inlinevirtual

Assign the rates.

Implements RateTerm.

Definition at line 100 of file RateTerm.h.

References setKcat(), and setKm().

100  {
101  setKm( Km );
102  setKcat( kcat );
103  }
void setKm(double Km)
Definition: RateTerm.h:90
void setKcat(double kcat)
Definition: RateTerm.h:95

+ Here is the call graph for this function:

Member Data Documentation

double MMEnzymeBase::kcat_
protected

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