19 "Sends out increment of molecules on product each timestep"
27 "Sends out increment of molecules on product each timestep"
56 "Forward reaction from enz + sub to complex, in # units."
57 "This parameter is subordinate to the Km. This means that"
58 "when Km is changed, this changes. It also means that when"
59 "k2 or k3 (aka kcat) are changed, we assume that Km remains"
60 "fixed, and as a result k1 must change. It is only when"
61 "k1 is assigned directly that we assume that the user knows"
62 "what they are doing, and we adjust Km accordingly."
63 "k1 is also subordinate to the 'ratio' field, since setting "
64 "the ratio reassigns k2."
65 "Should you wish to assign the elementary rates k1, k2, k3,"
66 "of an enzyme directly, always assign k1 last.",
73 "Reverse reaction from complex to enz + sub",
80 "Forward rate constant from complex to product + enz",
94 "K1 expressed in concentration (1/millimolar.sec) units"
95 "This parameter is subordinate to the Km. This means that"
96 "when Km is changed, this changes. It also means that when"
97 "k2 or k3 (aka kcat) are changed, we assume that Km remains"
98 "fixed, and as a result concK1 must change. It is only when"
99 "concK1 is assigned directly that we assume that the user knows"
100 "what they are doing, and we adjust Km accordingly."
101 "concK1 is also subordinate to the 'ratio' field, since"
102 "setting the ratio reassigns k2."
103 "Should you wish to assign the elementary rates concK1, k2, k3,"
104 "of an enzyme directly, always assign concK1 last.",
113 "Handles # of molecules of enz-sub complex",
119 static Finfo* enzShared[] = {
122 static Finfo* cplxShared[] = {
127 "Connects to enzyme pool",
128 enzShared,
sizeof( enzShared ) /
sizeof(
const Finfo* )
131 "Connects to enz-sub complex pool",
132 cplxShared,
sizeof( cplxShared ) /
sizeof(
const Finfo* )
135 static Finfo* cplxEnzFinfos[] = {
145 static string doc[] =
147 "Name",
"CplxEnzBase",
148 "Author",
"Upi Bhalla",
150 "Base class for mass-action enzymes in which there is an "
151 " explicit pool for the enzyme-substrate complex. "
152 "It models the reaction: "
153 "E + S <===> E.S ----> E + P"
161 sizeof( cplxEnzFinfos ) /
sizeof (
Finfo* ),
164 sizeof( doc )/
sizeof(
string )
256 if ( orig->
cinfo() == zClass )
262 vector< double > concK1( num, 0.0 );
263 vector< double > k2( num, 0.0 );
264 vector< double > kcat( num, 0.0 );
265 for (
unsigned int i = 0; i < num; ++i ) {
266 Eref er( orig, i + start );
270 k2[ i ] = ceb->
getK2( er );
271 kcat[ i ] = ceb->
getKcat( er );
274 for (
unsigned int i = 0; i < num; ++i ) {
275 Eref er( orig, i + start );
279 ceb->
setK2( er, k2[i] );
virtual double vGetConcK1(const Eref &e) const =0
virtual double vGetK2(const Eref &e) const =0
double getK2(const Eref &e) const
void setK1(const Eref &e, double v)
virtual void zombieSwap(const Cinfo *zCinfo)
virtual func, this base version must be called by all derived classes
static void zombify(Element *original, const Cinfo *zClass, Id solver)
virtual double vGetK1(const Eref &e) const =0
virtual void vSetConcK1(const Eref &e, double v)=0
void setK2(const Eref &e, double v)
void setConcK1(const Eref &e, double v)
virtual void vSetRatio(const Eref &e, double v)=0
virtual double vGetRatio(const Eref &e) const =0
double getK1(const Eref &e) const
double getConcK1(const Eref &e) const
const Cinfo * cinfo() const
virtual void vSetK1(const Eref &e, double v)=0
virtual unsigned int localDataStart() const =0
Returns index of first data entry on this node.
virtual unsigned int numLocalData() const =0
Returns number of local data entries on this node.
double getKcat(const Eref &e) const
static SrcFinfo2< double, double > * enzOut()
virtual void vSetK2(const Eref &e, double v)=0
static SrcFinfo2< double, double > * cplxOut()
double getRatio(const Eref &e) const
void setKcat(const Eref &e, double v)
static const Cinfo * cplxEnzCinfo
static const Cinfo * initCinfo()
void setRatio(const Eref &e, double v)
const Finfo * findFinfo(const string &name) const
static const Cinfo * initCinfo()
virtual void vCplx(double n)
virtual void setSolver(Id solver, Id orig)
Assign solver info.