46 unsigned int parent(
unsigned int index )
const;
120 const SrcFinfo2<
unsigned int, vector< double > >*
126 unsigned int numNodes,
unsigned int numThreads );
130 vector< double > params,
131 vector< Id > elecCompts,
132 vector< unsigned int > parentVoxel );
143 vector< VoxelJunction > & ret )
const;
146 vector< VoxelJunction > & ret )
const;
149 vector< VoxelJunction > & ret )
const;
152 vector< VoxelJunction > & ret )
const;
162 double nearest(
double x,
double y,
double z,
163 unsigned int& index )
const;
166 double& x,
double& y,
double& z )
const;
197 #endif // _PSD_MESH_H
vector< unsigned int > getNeuronVoxel() const
unsigned int getMeshDimensions(unsigned int fid) const
Virtual function to return dimensions of specified entry.
vector< Id > elecCompt_
Parent voxel index.
unsigned int parent(unsigned int index) const
double getMeshEntryVolume(unsigned int fid) const
Virtual function to return volume of mesh Entry.
void matchNeuroMeshEntries(const ChemCompt *other, vector< VoxelJunction > &ret) const
vector< unsigned int > getStartVoxelInCompt() const
Returns index of first voxel mapping to elec compt.
vector< double > getDiffusionScaling(unsigned int fid) const
Virtual function to return scale factor for diffusion. 1 here.
vector< double > getCoordinates(unsigned int fid) const
Virtual function to return coords of mesh Entry.
void transmitChange(const Eref &e)
double thickness_
Thickness of PSD.
void setMeshEntryVolume(unsigned int fid, double volume)
Virtual function to set volume of mesh Entry.
unsigned int innerGetDimensions() const
Returns # of dimensions, always 3 here. Inherited pure virt func.
vector< double > area_
Vol.
double getThickness() const
vector< CylBase > pa_
Specified disk of psd.
vector< double > parentDist_
Specifies direction of psd. Length ignored.
vector< double > getDiffusionArea(unsigned int fid) const
Virtual function to return diffusion X-section area.
const vector< double > & getVoxelArea() const
double nearest(double x, double y, double z, unsigned int &index) const
void innerSetNumEntries(unsigned int n)
Inherited virtual func.
vector< unsigned int > getEndVoxelInCompt() const
Returns index of end voxel mapping to elec compt, just first+1.
void innerHandleNodeInfo(const Eref &e, unsigned int numNodes, unsigned int numThreads)
void innerBuildDefaultMesh(const Eref &e, double volume, unsigned int numEntries)
Virtual func to make a mesh with specified Volume and numEntries.
void matchCubeMeshEntries(const ChemCompt *other, vector< VoxelJunction > &ret) const
void matchSpineMeshEntries(const ChemCompt *other, vector< VoxelJunction > &ret) const
double vGetEntireVolume() const
Inherited virtual func.
double extendedMeshEntryVolume(unsigned int fid) const
Vol of all mesh Entries including abutting diff-coupled voxels.
unsigned int innerGetNumEntries() const
void matchMeshEntries(const ChemCompt *other, vector< VoxelJunction > &ret) const
static unsigned int numNodes
vector< unsigned int > parent_
Specifies diff distance to PSD.
double surfaceGranularity_
Ids of elec compts mapped to each voxel.
unsigned int getMeshType(unsigned int fid) const
Virtual function to return MeshType of specified entry.
const vector< double > & vGetVoxelMidpoint() const
Virtual func so that derived classes can return voxel midpoint.
vector< unsigned int > getParentVoxel() const
static const Cinfo * initCinfo()
void handlePsdList(const Eref &e, vector< double > params, vector< Id > elecCompts, vector< unsigned int > parentVoxel)
bool vSetVolumeNotRates(double volume)
Inherited virtual func.
const vector< double > & getVoxelLength() const
vector< double > length_
area
void innerHandleRequestMeshStats(const Eref &e, const SrcFinfo2< unsigned int, vector< double > > *meshStatsFinfo)
void indexToSpace(unsigned int index, double &x, double &y, double &z) const
const vector< double > & vGetVoxelVolume() const
Virtual func so that derived classes can pass voxel volume back.
void setThickness(double v)
vector< Id > getElecComptMap() const