128 unsigned int numNodes,
unsigned int numThreads );
132 vector< Id > shaft, vector< Id > head,
133 vector< unsigned int > parentVoxel );
144 vector< VoxelJunction > & ret )
const;
147 vector< VoxelJunction > & ret )
const;
150 vector< VoxelJunction > & ret )
const;
153 vector< VoxelJunction > & ret )
const;
163 double nearest(
double x,
double y,
double z,
164 unsigned int& index )
const;
167 double& x,
double& y,
double& z )
const;
175 const vector< SpineEntry >&
spines()
const;
210 #endif // _SPINE_MESH_H
unsigned int innerGetNumEntries() const
void innerBuildDefaultMesh(const Eref &e, double volume, unsigned int numEntries)
Virtual func to make a mesh with specified Volume and numEntries.
double getMeshEntryVolume(unsigned int fid) const
Virtual function to return volume of mesh Entry.
const vector< double > & vGetVoxelVolume() const
Virtual func so that derived classes can pass voxel volume back.
bool vSetVolumeNotRates(double volume)
Inherited virtual func.
vector< unsigned int > getStartVoxelInCompt() const
Returns index of first voxel mapping to elec compt.
const vector< double > & vGetVoxelMidpoint() const
Virtual func so that derived classes can return voxel midpoint.
double extendedMeshEntryVolume(unsigned int fid) const
Vol of all mesh Entries including abutting diff-coupled voxels.
vector< double > getCoordinates(unsigned int fid) const
Virtual function to return coords of mesh Entry.
const vector< double > & getVoxelArea() const
void indexToSpace(unsigned int index, double &x, double &y, double &z) const
vector< double > getDiffusionArea(unsigned int fid) const
Virtual function to return diffusion X-section area.
void matchMeshEntries(const ChemCompt *other, vector< VoxelJunction > &ret) const
vector< SpineEntry > spines_
const vector< SpineEntry > & spines() const
vector< Id > getElecComptMap() const
unsigned int getMeshType(unsigned int fid) const
Virtual function to return MeshType of specified entry.
double vGetEntireVolume() const
Inherited virtual func.
const vector< double > & getVoxelLength() const
vector< double > length_
Pre-calculation of length of each MeshEntry.
vector< unsigned int > getNeuronVoxel() const
static const Cinfo * initCinfo()
double surfaceGranularity_
void transmitChange(const Eref &e)
vector< double > getDiffusionScaling(unsigned int fid) const
Virtual function to return scale factor for diffusion. 1 here.
void matchSpineMeshEntries(const ChemCompt *other, vector< VoxelJunction > &ret) const
void innerSetNumEntries(unsigned int n)
Inherited virtual func.
void innerHandleNodeInfo(const Eref &e, unsigned int numNodes, unsigned int numThreads)
double nearest(double x, double y, double z, unsigned int &index) const
static unsigned int numNodes
void matchNeuroMeshEntries(const ChemCompt *other, vector< VoxelJunction > &ret) const
vector< unsigned int > getEndVoxelInCompt() const
Returns index of end voxel mapping to elec compt, just first+1.
void setMeshEntryVolume(unsigned int fid, double volume)
Virtual function to assign volume of mesh Entry.
void matchCubeMeshEntries(const ChemCompt *other, vector< VoxelJunction > &ret) const
unsigned int getMeshDimensions(unsigned int fid) const
Virtual function to return dimensions of specified entry.
unsigned int innerGetDimensions() const
Returns # of dimensions, always 3 here. Inherited pure virt func.
vector< unsigned int > getParentVoxel() const
void handleSpineList(const Eref &e, vector< Id > shaft, vector< Id > head, vector< unsigned int > parentVoxel)