99 const SrcFinfo2<
unsigned int, vector< double > >*
105 unsigned int numNodes,
unsigned int numThreads );
112 vector< VoxelJunction > & ret )
const;
114 double nearest(
double x,
double y,
double z,
115 unsigned int& index )
const;
118 double& x,
double& y,
double& z )
const;
150 #endif // _ENDO_MESH_H
unsigned int getMeshDimensions(unsigned int fid) const
Virtual function to return dimensions of specified entry.
const MeshCompt * parent_
const vector< double > & getVoxelArea() const
void setRpower(const Eref &e, double v)
double getRpower(const Eref &e) const
vector< double > getDiffusionArea(unsigned int fid) const
Virtual function to return diffusion X-section area.
unsigned int innerGetNumEntries() const
void indexToSpace(unsigned int index, double &x, double &y, double &z) const
bool vSetVolumeNotRates(double volume)
Inherited virtual. Resizes len and dia of each voxel.
bool doAxialDiffusion_
vEndo = vScale * pow( surroundVol, vPower_)
void innerHandleRequestMeshStats(const Eref &e, const SrcFinfo2< unsigned int, vector< double > > *meshStatsFinfo)
More inherited virtual funcs: request comes in for mesh stats.
double getMeshEntryVolume(unsigned int fid) const
Virtual function to return volume of mesh Entry.
double aPower_
rEndo = rScale * pow( surroundVol, rPower_)
void innerSetNumEntries(unsigned int n)
Inherited virtual func.
void setApower(const Eref &e, double v)
double vScale_
vEndo = vScale * pow( surroundVol, vPower_)
double getAscale(const Eref &e) const
double getVscale(const Eref &e) const
void innerHandleNodeInfo(const Eref &e, unsigned int numNodes, unsigned int numThreads)
static const Cinfo * initCinfo()
double getVpower(const Eref &e) const
double rPower_
EndoMeshes inside. Used to update.
double getRscale(const Eref &e) const
void setVpower(const Eref &e, double v)
void innerBuildDefaultMesh(const Eref &e, double volume, unsigned int numEntries)
Virtual func to make a mesh with specified Volume and numEntries.
const vector< double > & vGetVoxelMidpoint() const
Virtual func so that derived classes can return voxel midpoint.
double getApower(const Eref &e) const
vector< unsigned int > getParentVoxel() const
Inherited virtual, do nothing for now.
const vector< double > & vGetVoxelVolume() const
Virtual func so that derived classes can pass voxel volume back.
double vPower_
aEndo = aScale * pow( surroundVol, aPower_)
ObjId getSurround(const Eref &e) const
void setDoAxialDiffusion(const Eref &e, bool v)
unsigned int getMeshType(unsigned int fid) const
Virtual function to return MeshType of specified entry.
void setAscale(const Eref &e, double v)
void setRscale(const Eref &e, double v)
double nearest(double x, double y, double z, unsigned int &index) const
static unsigned int numNodes
vector< double > getCoordinates(unsigned int fid) const
Virtual function to return coords of mesh Entry.
double aScale_
aEndo = aScale * pow( surroundVol, aPower_)
double extendedMeshEntryVolume(unsigned int fid) const
Volume of mesh Entry including abutting diff-coupled voxels.
unsigned int innerGetDimensions() const
Virtual function to return # of spatial dimensions of mesh.
bool getDoAxialDiffusion(const Eref &e) const
double vGetEntireVolume() const
Inherited virtual. Returns entire volume of compartment.
void setSurround(const Eref &e, ObjId v)
void matchMeshEntries(const ChemCompt *other, vector< VoxelJunction > &ret) const
const vector< double > & getVoxelLength() const
vector< double > getDiffusionScaling(unsigned int fid) const
Virtual function to return scale factor for diffusion. 1 here.
double rScale_
rEndo = rScale * pow( surroundVol, rPower_)
void setVscale(const Eref &e, double v)