13 #include "../mesh/VoxelJunction.h"
62 : dsolve_( 0 ), ksolve_( 0 ), diffConst_( 1e-12 ), motorConst_( 0.0 )
200 }
else if ( ksolve ==
Id() ) {
203 cout <<
"Warning:ZombiePool::vSetSolver: solver class " <<
205 " not known.\nShould be Ksolve or Gsolve\n";
212 }
else if ( dsolve ==
Id() ) {
215 cout <<
"Warning:ZombiePool::vSetSolver: solver class " <<
217 " not known.\nShould be Dsolve\n";
void vSetSolver(Id ksolve, Id dsolve)
virtual void setNinit(const Eref &e, double val)=0
Set initial # of molecules in given pool and voxel. Bdry cond.
Element * element() const
Synonym for Id::operator()()
void vSetConcInit(const Eref &e, double v)
virtual double getN(const Eref &e) const =0
Get # of molecules in given pool and voxel. Varies with time.
static const Cinfo * initCinfo()
static const Cinfo * initCinfo()
unsigned int vGetSpecies(const Eref &e) const
virtual void setN(const Eref &e, double val)=0
Set # of molecules in given pool and voxel. Varies with time.
void vSetConc(const Eref &e, double v)
const std::string & name() const
void vSetDiffConst(const Eref &e, double v)
void vSetNinit(const Eref &e, double v)
double vGetN(const Eref &e) const
ZombiePoolInterface * dsolve_
double vGetNinit(const Eref &e) const
void vSetSpecies(const Eref &e, unsigned int v)
bool vGetIsBuffered(const Eref &e) const
bool isA(const string &ancestor) const
const Cinfo * cinfo() const
void vSetVolume(const Eref &e, double v)
double vGetMotorConst(const Eref &e) const
virtual double getNinit(const Eref &e) const =0
get initial # of molecules in given pool and voxel. Bdry cond.
virtual void setMotorConst(const Eref &e, double val)
ZombiePoolInterface * ksolve_
double vGetConc(const Eref &e) const
virtual void setDiffConst(const Eref &e, double val)=0
Diffusion constant: Only one per pool, voxel number is ignored.
double vGetVolume(const Eref &e) const
void vSetN(const Eref &e, double v)
double vGetDiffConst(const Eref &e) const
void vSetMotorConst(const Eref &e, double v)
Dummy MotorConst field for most Pool subclasses.
double lookupVolumeFromMesh(const Eref &e)
double vGetConcInit(const Eref &e) const
static const Cinfo * zombiePoolCinfo