46 double volume(
unsigned int i )
const;
49 vector< double >
getNvec(
unsigned int voxel)
const;
50 void setNvec(
unsigned int voxel, vector< double > vec );
74 unsigned int firedReac );
82 vector< unsigned int >
getNumFire(
unsigned int voxel)
const;
95 void setN(
const Eref& e,
double v );
102 void getBlock( vector< double >& values )
const;
103 void setBlock(
const vector< double >& values );
129 #if PARALLELIZE_GSOLVE_WITH_CPP11_ASYNC
130 unsigned int getNumThreads( )
const;
131 void setNumThreads(
unsigned int x );
138 #if PARALLELIZE_GSOLVE_WITH_CPP11_ASYNC
143 unsigned int numThreads_;
unsigned int getNumAllVoxels() const
void fillIncrementFuncDep()
bool getRandInit() const
Flag: returns true if randomized round to integers is done.
double getN(const Eref &e) const
Get # of molecules in given pool and voxel. Varies with time.
Id getCompartment() const
Inherited from ZombiePoolInterface.
void updateVoxelVol(vector< double > vols)
Gsolve & operator=(const Gsolve &)
unsigned int getVoxelIndex(const Eref &e) const
void process(const Eref &e, ProcPtr p)
void setStoich(Id stoich)
void setRandInit(bool val)
Flag: set true if randomized round to integers is to be done.
static const Cinfo * initCinfo()
void setNvec(unsigned int voxel, vector< double > vec)
unsigned int startVoxel_
First voxel indexed on the current node.
unsigned int getPoolIndex(const Eref &e) const
Return pool index, using Stoich ptr to do lookup.
Stoich * stoichPtr_
Utility ptr used to help Pool Id lookups by the Ksolve.
void initReinit(const Eref &e, ProcPtr p)
double getDiffConst(const Eref &e) const
Diffusion constant: Only one per pool, voxel number is ignored.
void setN(const Eref &e, double v)
Set # of molecules in given pool and voxel. Varies with time.
void updateRateTerms(unsigned int index)
void setClockedUpdate(bool val)
Flag: set true if randomized round to integers is to be done.
double getNinit(const Eref &e) const
get initial # of molecules in given pool and voxel. Bdry cond.
unsigned int getNumPools() const
Inherited.
VoxelPoolsBase * pools(unsigned int i)
Inherited.
vector< GssaVoxelPools > pools_
unsigned int getNumLocalVoxels() const
Number of voxels here. pools_.size() == getNumLocalVoxels.
void getBlock(vector< double > &values) const
void setCompartment(Id compt)
Assigns compartment.
void insertMathDepReacs(unsigned int mathDepIndex, unsigned int firedReac)
bool useClockedUpdate_
Flag: True if atot should be updated every clock tick.
void setDsolve(Id dsolve)
void setBlock(const vector< double > &values)
bool getClockedUpdate() const
Flag: returns true if randomized round to integers is done.
ZombiePoolInterface * dsolvePtr_
Pointer to diffusion solver.
void setDiffConst(const Eref &e, double v)
Diffusion constant: Only one per pool, voxel number is ignored.
void initProc(const Eref &e, ProcPtr p)
vector< unsigned int > getNumFire(unsigned int voxel) const
void setNinit(const Eref &e, double v)
Set initial # of molecules in given pool and voxel. Bdry cond.
void makeReacDepsUnique()
void setNumAllVoxels(unsigned int num)
vector< double > getNvec(unsigned int voxel) const
Returns the vector of pool Num at the specified voxel.
void parallel_advance(int begin, int end, size_t nWorkers, ProcPtr p, const GssaSystem *sys)
double volume(unsigned int i) const
Inherited.
void reinit(const Eref &e, ProcPtr p)
void setNumPools(unsigned int num)