MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
MMPump.h
Go to the documentation of this file.
1 /**********************************************************************
2  ** This program is part of 'MOOSE', the
3  ** Multiscale Object Oriented Simulation Environment.
4  ** copyright (C) 2003-2008
5  ** Upinder S. Bhalla, Niraj Dudani and NCBS
6  ** It is made available under the terms of the
7  ** GNU Lesser General Public License version 2.1
8  ** See the file COPYING.LIB for the full notice.
9  **********************************************************************/
10 
11 #ifndef _MMPUMP_H
12 #define _MMPUMP_H
13 /*This is base class for MMPump*/
14 class MMPump
15 {
16 public:
17  MMPump();
18  void process( const Eref & e, ProcPtr p);
19  void reinit(const Eref &e, ProcPtr p);
20 
21  double getVmax(const Eref& e) const; //Vmax of the pump
22  void setVmax(const Eref& e,double value);
23 
24  int getVal(const Eref& e) const; //Valence
25  void setVal(const Eref& e,int value);
26 
27  double getKd(const Eref& e) const; // Pump's Kd
28  void setKd(const Eref& e,double value);
29 
30 
31 
32  static SrcFinfo2< double,double >* PumpOut(); //Pump parameters;
33 
34  static const Cinfo * initCinfo();
35 
36 private:
37 
38  double Vmax_;
39  double Kd_;
40 };
41 
42 
43 
44 
45 #endif //_MMPUMP_BASE_H
static const Cinfo * initCinfo()
Definition: MMPump.cpp:14
void setVmax(const Eref &e, double value)
Definition: MMPump.cpp:109
uint32_t value
Definition: moosemodule.h:42
Definition: MMPump.h:14
void process(const Eref &e, ProcPtr p)
Definition: MMPump.cpp:133
double Kd_
Definition: MMPump.h:39
void setVal(const Eref &e, int value)
double Vmax_
Definition: MMPump.h:38
MMPump()
Definition: MMPump.cpp:98
double getKd(const Eref &e) const
Definition: MMPump.cpp:119
double getVmax(const Eref &e) const
Definition: MMPump.cpp:104
Definition: Eref.h:26
void reinit(const Eref &e, ProcPtr p)
Definition: MMPump.cpp:138
void setKd(const Eref &e, double value)
Definition: MMPump.cpp:123
int getVal(const Eref &e) const
static SrcFinfo2< double, double > * PumpOut()
Definition: MMPump.cpp:7
Definition: Cinfo.h:18