117 const SrcFinfo2<
unsigned int, vector< double > >*
123 unsigned int numNodes,
unsigned int numThreads );
134 vector< VoxelJunction > & ret )
const;
136 double nearest(
double x,
double y,
double z,
137 unsigned int& index )
const;
139 double nearest(
double x,
double y,
double z,
140 double& linePos,
double& r )
const;
143 double& x,
double& y,
double& z )
const;
149 vector< VoxelJunction >& ret )
const;
151 vector< VoxelJunction >& ret )
const;
153 vector< VoxelJunction >& ret )
const;
192 #endif // _CYL_MESH_H
double surfaceGranularity_
Length constant for diffusion. Equal to dx.
vector< double > getDiffusionArea(unsigned int fid) const
Virtual function to return diffusion X-section area.
void updateCoords(const Eref &e, const vector< double > &childConcs)
double nearest(double x, double y, double z, unsigned int &index) const
double getY0(const Eref &e) const
static const Cinfo * initCinfo()
vector< double > getCoordinates(unsigned int fid) const
Virtual function to return coords of mesh Entry.
unsigned int getMeshType(unsigned int fid) const
Virtual function to return MeshType of specified entry.
void innerHandleNodeInfo(const Eref &e, unsigned int numNodes, unsigned int numThreads)
void setDiffLength(const Eref &e, double v)
void transmitChange(const Eref &e)
void indexToSpace(unsigned int index, double &x, double &y, double &z) const
void setY1(const Eref &e, double v)
vector< double > getCoords(const Eref &e) const
double r1_
Radius at one end.
double getTotLength() const
unsigned int innerGetNumEntries() const
void innerHandleRequestMeshStats(const Eref &e, const SrcFinfo2< unsigned int, vector< double > > *meshStatsFinfo)
More inherited virtual funcs: request comes in for mesh stats.
double getX1(const Eref &e) const
unsigned int getMeshDimensions(unsigned int fid) const
Virtual function to return dimensions of specified entry.
double lenSlope_
Utility value: dr/dx.
void setZ0(const Eref &e, double v)
double getMeshEntryVolume(unsigned int fid) const
Virtual function to return volume of mesh Entry.
void matchNeuroMeshEntries(const NeuroMesh *other, vector< VoxelJunction > &ret) const
void setX0(const Eref &e, double v)
void innerSetNumEntries(unsigned int n)
Inherited virtual func.
void matchMeshEntries(const ChemCompt *other, vector< VoxelJunction > &ret) const
void setX1(const Eref &e, double v)
double getR1(const Eref &e) const
const vector< double > & getVoxelArea() const
void setR0(const Eref &e, double v)
double extendedMeshEntryVolume(unsigned int fid) const
Volume of mesh Entry including abutting diff-coupled voxels.
double getR0(const Eref &e) const
vector< double > getDiffusionScaling(unsigned int fid) const
Virtual function to return scale factor for diffusion. 1 here.
double rSlope_
Utility value: Total length of cylinder.
double getZ0(const Eref &e) const
bool vSetVolumeNotRates(double volume)
Inherited virtual. Resizes len and dia of each voxel.
vector< unsigned int > getParentVoxel() const
Inherited virtual, do nothing for now.
double getY1(const Eref &e) const
static unsigned int numNodes
const vector< double > & vGetVoxelMidpoint() const
Virtual func so that derived classes can return voxel midpoint.
double diffLength_
Radius at other end.
void setR1(const Eref &e, double v)
void matchCubeMeshEntries(const CubeMesh *other, vector< VoxelJunction > &ret) const
double getX0(const Eref &e) const
const vector< double > & getVoxelLength() const
const vector< double > & vGetVoxelVolume() const
Virtual func so that derived classes can pass voxel volume back.
void setY0(const Eref &e, double v)
void setZ1(const Eref &e, double v)
double getDiffLength(const Eref &e) const
double vGetEntireVolume() const
Inherited virtual. Returns entire volume of compartment.
void matchCylMeshEntries(const CylMesh *other, vector< VoxelJunction > &ret) const
void innerBuildDefaultMesh(const Eref &e, double volume, unsigned int numEntries)
Virtual func to make a mesh with specified Volume and numEntries.
unsigned int innerGetDimensions() const
void setCoords(const Eref &e, vector< double > v)
double getZ1(const Eref &e) const
double selectGridVolume(double h) const
void innerSetCoords(const Eref &e, const vector< double > &v)