#include <RateTerm.h>
Public Member Functions | |
MMEnzyme1 (double Km, double kcat, unsigned int enz, unsigned int sub) | |
double | operator() (const double *S) const |
Computes the rate. The argument is the molecule array. | |
unsigned int | getReactants (vector< unsigned int > &molIndex) const |
RateTerm * | copyWithVolScaling (double vol, double sub, double prd) const |
MMEnzyme1::MMEnzyme1 | ( | double | Km, | |
double | kcat, | |||
unsigned int | enz, | |||
unsigned int | sub | |||
) | [inline] |
Referenced by copyWithVolScaling().
RateTerm* MMEnzyme1::copyWithVolScaling | ( | double | vol, | |
double | sub, | |||
double | prd | |||
) | const [inline, virtual] |
Duplicates rate term and then applies volume scaling. Arguments are volume of reference voxel, product of vol/refVol for all substrates: applied to R1 product of vol/refVol for all products: applied to R2
Note that unless the reaction is cross-compartment, the vol/refVol will be one.
Implements RateTerm.
References MMEnzymeBase::enz_, MMEnzymeBase::kcat_, MMEnzymeBase::Km_, MMEnzyme1(), and NA.
unsigned int MMEnzyme1::getReactants | ( | vector< unsigned int > & | molIndex | ) | const [inline, virtual] |
This function finds the reactant indices in the vector S. It returns the number of substrates found, which are the first entries in molIndex. The products are the remaining ones. Note that it does NOT find products for unidirectional reactions, which is a bit of a problem.
Implements RateTerm.
References MMEnzymeBase::enz_.
double MMEnzyme1::operator() | ( | const double * | S | ) | const [inline, virtual] |
Computes the rate. The argument is the molecule array.
Implements RateTerm.
References MMEnzymeBase::enz_, MMEnzymeBase::kcat_, and MMEnzymeBase::Km_.