10 #ifndef _DIFF_POOL_VEC_H
11 #define _DIFF_POOL_VEC_H
25 double getNinit(
unsigned int vox )
const;
27 double getN(
unsigned int vox )
const;
28 void setN(
unsigned int vox,
double value );
29 double getPrev(
unsigned int vox )
const;
40 void setId(
unsigned int id );
41 unsigned int getId()
const;
45 const vector< double >&
getNvec()
const;
47 void setNvec(
const vector< double >& n );
48 void setNvec(
unsigned int start,
unsigned int num,
49 vector< double >::const_iterator q );
62 vector< Triplet< double > >
ops_;
66 #endif // _DIFF_POOL_VEC_H
vector< double > prev_
Number of molecules of pool in each voxel.
void setOps(const vector< Triplet< double > > &ops_, const vector< double > &diagVal_)
Assigns prev_ = n_.
const vector< double > & getNvec() const
Used by parent solver to manipulate 'n'.
void setN(unsigned int vox, double value)
unsigned int getNumVoxels() const
unsigned int getId() const
unsigned int id_
Assign operations.
void setNvec(const vector< double > &n)
Used by parent solver to manipulate 'n'.
void setId(unsigned int id)
vector< double > n_
Integer conversion of Id of pool handled.
double getDiffConst() const
double getNinit(unsigned int vox) const
vector< Triplet< double > > ops_
Motor const, ie, transport rate.
void setNinit(unsigned int vox, double value)
vector< double > diagVal_
double diffConst_
Boundary condition: Initial 'n'.
void setMotorConst(double value)
double motorConst_
Diffusion const, assumed uniform.
void setNumVoxels(unsigned int num)
double getMotorConst() const
void setDiffConst(double value)
vector< double > nInit_
molecules of pool on previous timestep
double getN(unsigned int vox) const
double getPrev(unsigned int vox) const