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_REAC_H 00011 #define _ZOMBIE_REAC_H 00012 00013 class ZombieReac: public ReacBase 00014 { 00015 public: 00016 ZombieReac(); 00017 ~ZombieReac(); 00018 00020 // Field assignment stuff 00022 00023 void vSetNumKf( const Eref& e, double v ); 00024 double vGetNumKf( const Eref& e ) const; 00025 void vSetNumKb( const Eref& e, double v ); 00026 double vGetNumKb( const Eref& e ) const; 00027 00028 void vSetConcKf( const Eref& e, double v ); 00029 double vGetConcKf( const Eref& e ) const; 00030 void vSetConcKb( const Eref& e, double v ); 00031 double vGetConcKb( const Eref& e ) const; 00032 00034 // Dest funcs 00036 00038 // utility funcs 00040 /* 00041 ZeroOrder* makeHalfReaction( 00042 Element* orig, double rate, const SrcFinfo* finfo ) const; 00043 */ 00044 00045 void setSolver( Id solver, Id orig ); 00046 00047 static const Cinfo* initCinfo(); 00048 private: 00049 Stoich* stoich_; 00050 }; 00051 00052 #endif // _ZOMBIE_REAC_H