54 vector< double >
getNvec(
unsigned int voxel)
const;
55 void setNvec(
unsigned int voxel, vector< double > vec );
57 #if PARALLELIZE_KSOLVE_WITH_CPP11_ASYNC
59 unsigned int getNumThreads( )
const;
60 void setNumThreads(
unsigned int x );
63 void parallel_advance(
int begin,
int end,
size_t nWorkers,
ProcPtr p);
99 void setN(
const Eref& e,
double v );
115 double volume(
unsigned int i )
const;
117 void getBlock( vector< double >& values )
const;
118 void setBlock(
const vector< double >& values );
142 #if PARALLELIZE_KSOLVE_WITH_CPP11_ASYNC
146 unsigned int numThreads_;
void updateRateTerms(unsigned int index)
vector< VoxelPools > pools_
void setDsolve(Id dsolve)
Assigns the diffusion solver. Used by the reac solvers.
static const Cinfo * initCinfo()
void getBlock(vector< double > &values) const
void setNinit(const Eref &e, double v)
Set initial # of molecules in given pool and voxel. Bdry cond.
VoxelPoolsBase * pools(unsigned int i)
Return a pointer to the specified VoxelPool.
void setNumPools(unsigned int num)
string getMethod() const
Assigns integration method.
void reinit(const Eref &e, ProcPtr p)
Stoich * stoichPtr_
Utility ptr used to help Pool Id lookups by the Ksolve.
void updateVoxelVol(vector< double > vols)
double volume(unsigned int i) const
Return volume of voxel i.
unsigned int getPoolIndex(const Eref &e) const
Return pool index, using Stoich ptr to do lookup.
unsigned int getNumPools() const
gets number of pools (species) handled by system.
ZombiePoolInterface * dsolvePtr_
Pointer to diffusion solver.
double getDiffConst(const Eref &e) const
Diffusion constant: Only one per pool, voxel number is ignored.
void setEpsRel(double val)
void setStoich(Id stoich)
vector< double > getNvec(unsigned int voxel) const
Returns the vector of pool Num at the specified voxel.
void matchJunctionVols(vector< double > &vols, Id otherCompt) const
unsigned int startVoxel_
First voxel indexed on the current node.
double getEpsAbs() const
Assigns Absolute tolerance for integration.
void setNumAllVoxels(unsigned int num)
void process(const Eref &e, ProcPtr p)
void setMethod(string method)
unsigned int getNumLocalVoxels() const
Inherited from ZombiePoolInterface.
Id getStoich() const
Assigns Stoich object to Ksolve.
void setN(const Eref &e, double v)
Set # of molecules in given pool and voxel. Varies with time.
void setNvec(unsigned int voxel, vector< double > vec)
void initReinit(const Eref &e, ProcPtr p)
double getNinit(const Eref &e) const
get initial # of molecules in given pool and voxel. Bdry cond.
void setDiffConst(const Eref &e, double v)
Diffusion constant: Only one per pool, voxel number is ignored.
Id getDsolve() const
Inherited from ZombiePoolInterface.
void initProc(const Eref &e, ProcPtr p)
double getEpsRel() const
Assigns Relative tolerance for integration.
unsigned int getNumAllVoxels() const
double getEstimatedDt() const
void setEpsAbs(double val)
void setBlock(const vector< double > &values)
unsigned int getVoxelIndex(const Eref &e) const
double getN(const Eref &e) const
Get # of molecules in given pool and voxel. Varies with time.