00001 /********************************************************************** 00002 ** This program is part of 'MOOSE', the 00003 ** Messaging Object Oriented Simulation Environment. 00004 ** Copyright (C) 2003-2010 Upinder S. Bhalla. and NCBS 00005 ** It is made available under the terms of the 00006 ** GNU Lesser General Public License version 2.1 00007 ** See the file COPYING.LIB for the full notice. 00008 **********************************************************************/ 00009 00010 #ifndef _ZOMBIE_POOL_H 00011 #define _ZOMBIE_POOL_H 00012 00017 class ZombiePool: public PoolBase 00018 { 00019 public: 00020 ZombiePool(); 00021 ~ZombiePool(); 00022 00024 // Field assignment stuff 00026 00027 void vSetN( const Eref& e, double v ); 00028 double vGetN( const Eref& e ) const; 00029 void vSetNinit( const Eref& e, double v ); 00030 double vGetNinit( const Eref& e ) const; 00031 void vSetDiffConst( const Eref& e, double v ); 00032 double vGetDiffConst( const Eref& e ) const; 00033 00034 void vSetConc( const Eref& e, double v ); 00035 double vGetConc( const Eref& e ) const; 00036 void vSetConcInit( const Eref& e, double v ); 00037 // double vGetConcInit( const Eref& e ) const; 00038 00039 void vSetVolume( const Eref& e, double v ); 00040 double vGetVolume( const Eref& e ) const; 00041 00042 void vSetSpecies( const Eref& e, unsigned int v ); 00043 unsigned int vGetSpecies( const Eref& e ) const; 00044 00045 void vSetSolver( Id ksolve, Id dsolve ); 00046 00047 void vSetMotorConst( const Eref& e, double v ); 00048 double vGetMotorConst( const Eref& e ) const; 00050 // Dest funcs 00052 00054 // utility funcs 00056 00057 static const Cinfo* initCinfo(); 00058 protected: 00069 ZombiePoolInterface* dsolve_; 00070 ZombiePoolInterface* ksolve_; 00071 double diffConst_; 00072 double motorConst_; 00073 }; 00074 00075 #endif // _ZOMBIE_POOL_H