MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ZombiePool.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 _ZOMBIE_POOL_H
11 #define _ZOMBIE_POOL_H
12 
17 class ZombiePool: public PoolBase
18 {
19  public:
20  ZombiePool();
21  ~ZombiePool();
22 
24  // Field assignment stuff
26 
27  void vSetN( const Eref& e, double v );
28  double vGetN( const Eref& e ) const;
29  void vSetNinit( const Eref& e, double v );
30  double vGetNinit( const Eref& e ) const;
31  void vSetDiffConst( const Eref& e, double v );
32  double vGetDiffConst( const Eref& e ) const;
33 
34  void vSetConc( const Eref& e, double v );
35  double vGetConc( const Eref& e ) const;
36  void vSetConcInit( const Eref& e, double v );
37  double vGetConcInit( const Eref& e ) const;
38 
39  void vSetVolume( const Eref& e, double v );
40  double vGetVolume( const Eref& e ) const;
41 
42  void vSetSpecies( const Eref& e, unsigned int v );
43  unsigned int vGetSpecies( const Eref& e ) const;
44 
45  void vSetSolver( Id ksolve, Id dsolve );
46 
47  void vSetMotorConst( const Eref& e, double v );
48  double vGetMotorConst( const Eref& e ) const;
49  bool vGetIsBuffered( const Eref& e ) const;
51  // Dest funcs
53 
55  // utility funcs
57 
58  static const Cinfo* initCinfo();
59  protected:
72  double diffConst_;
73  double motorConst_;
74 };
75 
76 #endif // _ZOMBIE_POOL_H
void vSetSolver(Id ksolve, Id dsolve)
Definition: ZombiePool.cpp:191
void vSetConcInit(const Eref &e, double v)
Definition: ZombiePool.cpp:123
static const Cinfo * initCinfo()
Definition: ZombiePool.cpp:21
unsigned int vGetSpecies(const Eref &e) const
Definition: ZombiePool.cpp:167
void vSetConc(const Eref &e, double v)
Definition: ZombiePool.cpp:111
double motorConst_
Definition: ZombiePool.h:73
void vSetDiffConst(const Eref &e, double v)
Definition: ZombiePool.cpp:138
void vSetNinit(const Eref &e, double v)
Definition: ZombiePool.cpp:94
double vGetN(const Eref &e) const
Definition: ZombiePool.cpp:85
ZombiePoolInterface * dsolve_
Definition: ZombiePool.h:70
double vGetNinit(const Eref &e) const
Definition: ZombiePool.cpp:102
void vSetSpecies(const Eref &e, unsigned int v)
Definition: ZombiePool.cpp:162
bool vGetIsBuffered(const Eref &e) const
Definition: ZombiePool.cpp:182
Definition: Eref.h:26
void vSetVolume(const Eref &e, double v)
Definition: ZombiePool.cpp:172
double vGetMotorConst(const Eref &e) const
Definition: ZombiePool.cpp:150
ZombiePoolInterface * ksolve_
Definition: ZombiePool.h:71
double vGetConc(const Eref &e) const
Definition: ZombiePool.cpp:118
double vGetVolume(const Eref &e) const
Definition: ZombiePool.cpp:177
void vSetN(const Eref &e, double v)
Definition: ZombiePool.cpp:76
Definition: Id.h:17
double diffConst_
Definition: ZombiePool.h:72
Definition: Cinfo.h:18
double vGetDiffConst(const Eref &e) const
Definition: ZombiePool.cpp:145
void vSetMotorConst(const Eref &e, double v)
Dummy MotorConst field for most Pool subclasses.
Definition: ZombiePool.cpp:155
double vGetConcInit(const Eref &e) const
Definition: ZombiePool.cpp:133