MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
MMenz.h
Go to the documentation of this file.
1 /**********************************************************************
2 ** This program is part of 'MOOSE', the
3 ** Messaging Object Oriented Simulation Environment.
4 ** Copyright (C) 2003-2010 Upinder S. Bhalla. and NCBS
5 ** It is made available under the terms of the
6 ** GNU Lesser General Public License version 2.1
7 ** See the file COPYING.LIB for the full notice.
8 **********************************************************************/
9 
10 #ifndef _MM_ENZ_H
11 #define _MM_ENZ_H
12 
18 class MMenz: public EnzBase
19 {
20  public:
21  MMenz();
22  virtual ~MMenz();
23 
25  // Field assignment stuff
27 
28  void vSetKm( const Eref& e, double v );
29  double vGetKm( const Eref& e ) const;
30  void vSetNumKm( const Eref& e, double v );
31  double vGetNumKm( const Eref& e ) const;
32  void vSetKcat( const Eref& e, double v );
33  double vGetKcat(const Eref& e ) const;
34 
36  // Dest funcs
38 
39  void vProcess( const Eref& e, ProcPtr p );
40  void vReinit( const Eref& e, ProcPtr p );
41  void vSub( double n );
42  void vEnz( double n );
43  void vRemesh( const Eref& e );
44 
45  static const Cinfo* initCinfo();
46  private:
47  double Km_;
48  double numKm_;
49  double kcat_;
50  double sub_;
51  double enz_;
52 };
53 
54 #endif // MM_ENZ_H
double vGetKm(const Eref &e) const
Definition: MMenz.cpp:115
void vSetKm(const Eref &e, double v)
Definition: MMenz.cpp:108
double vGetNumKm(const Eref &e) const
Definition: MMenz.cpp:127
static const Cinfo * initCinfo()
Definition: MMenz.cpp:18
void vProcess(const Eref &e, ProcPtr p)
Definition: MMenz.cpp:82
double numKm_
Km in Concentration units, millimolar.
Definition: MMenz.h:48
double sub_
kcat in 1/sec
Definition: MMenz.h:50
void vRemesh(const Eref &e)
Definition: MMenz.cpp:97
void vSetNumKm(const Eref &e, double v)
Definition: MMenz.cpp:120
Definition: Eref.h:26
MMenz()
Definition: MMenz.cpp:58
void vSub(double n)
Definition: MMenz.cpp:72
double enz_
State variable: substrate (in num units) * numKm.
Definition: MMenz.h:51
double vGetKcat(const Eref &e) const
Definition: MMenz.cpp:141
void vSetKcat(const Eref &e, double v)
Definition: MMenz.cpp:134
void vEnz(double n)
Definition: MMenz.cpp:77
double kcat_
Km in number units.
Definition: MMenz.h:49
double Km_
Definition: MMenz.h:47
virtual ~MMenz()
Definition: MMenz.cpp:64
void vReinit(const Eref &e, ProcPtr p)
Definition: MMenz.cpp:91
Definition: Cinfo.h:18
Definition: MMenz.h:18