10 #ifndef _ZOMBIE_POOL_INTERFACE_H
11 #define _ZOMBIE_POOL_INTERFACE_H
30 virtual void setN(
const Eref& e,
double val ) = 0;
32 virtual double getN(
const Eref& e )
const = 0;
57 virtual double volume(
unsigned int i )
const = 0;
74 virtual void getBlock( vector< double >& values )
const = 0;
82 virtual void setBlock(
const vector< double >& values ) = 0;
129 #endif // _ZOMBIE_POOL_INTERFACE_H
virtual void setNinit(const Eref &e, double val)=0
Set initial # of molecules in given pool and voxel. Bdry cond.
virtual unsigned int getNumPools() const =0
gets number of pools (species) handled by system.
virtual double volume(unsigned int i) const =0
Return volume of voxel i.
virtual double getN(const Eref &e) const =0
Get # of molecules in given pool and voxel. Varies with time.
virtual unsigned int getNumLocalVoxels() const =0
Number of voxels here. pools_.size() == getNumLocalVoxels.
virtual void setNumAllVoxels(unsigned int numVoxels)=0
Assign number of voxels (size of pools_ vector )
virtual void setNumPools(unsigned int num)=0
Specifies number of pools (species) handled by system.
virtual void setN(const Eref &e, double val)=0
Set # of molecules in given pool and voxel. Varies with time.
virtual void updateJunctions(double dt)
Used for telling Dsolver to handle all ops across Junctions.
virtual double getDiffConst(const Eref &e) const =0
Diffusion constant: Only one per pool, voxel number is ignored.
virtual void setCompartment(Id compartment)
Assigns compartment.
Id getCompartment() const
virtual void updateRateTerms(unsigned int index=~0U)=0
virtual VoxelPoolsBase * pools(unsigned int i)=0
Return a pointer to the specified VoxelPool.
bool isBuilt_
Flag: True when solver setup has been completed.
virtual void setPrev()
Used to tell Dsolver to assign 'prev' values.
virtual double getNinit(const Eref &e) const =0
get initial # of molecules in given pool and voxel. Bdry cond.
virtual void setBlock(const vector< double > &values)=0
virtual void setMotorConst(const Eref &e, double val)
virtual void setStoich(Id stoich)=0
Id compartment_
Id of Chem compartment used to figure out volumes of voxels.
virtual void setDiffConst(const Eref &e, double val)=0
Diffusion constant: Only one per pool, voxel number is ignored.
virtual unsigned int getPoolIndex(const Eref &er) const =0
Return pool index, using Stoich ptr to do lookup.
virtual void setDsolve(Id dsolve)=0
Assigns the diffusion solver. Used by the reac solvers.
virtual void getBlock(vector< double > &values) const =0