![]() |
NEURON
|
Compartment mapping information for NrnThread. More...
#include <nrnsection_mapping.hpp>
Public Member Functions | |
size_t | size () const |
number of cells More... | |
~NrnThreadMappingInfo () | |
memory cleanup More... | |
CellMapping * | get_cell_mapping (int gid) const |
get cell mapping information for given gid if exist otherwise return nullptr. More... | |
void | add_cell_mapping (CellMapping *c) |
add mapping information of new cell More... | |
void | add_segment_id (const int segment_id) |
add a new segment More... | |
void | prepare_lfp () |
Resize the lfp vector. More... | |
Public Attributes | |
std::vector< CellMapping * > | mappingvec |
list of cells mapping More... | |
std::vector< int > | segment_ids |
list of segment ids More... | |
std::vector< double > | _lfp |
Compartment mapping information for NrnThread.
NrnThread could have more than one cell in cellgroup and we store this in vector.
Definition at line 170 of file nrnsection_mapping.hpp.
|
inline |
memory cleanup
Definition at line 185 of file nrnsection_mapping.hpp.
|
inline |
add mapping information of new cell
Definition at line 204 of file nrnsection_mapping.hpp.
|
inline |
add a new segment
Definition at line 209 of file nrnsection_mapping.hpp.
|
inline |
get cell mapping information for given gid if exist otherwise return nullptr.
Definition at line 194 of file nrnsection_mapping.hpp.
|
inline |
Resize the lfp vector.
Definition at line 214 of file nrnsection_mapping.hpp.
|
inline |
number of cells
Definition at line 180 of file nrnsection_mapping.hpp.
std::vector<double> coreneuron::NrnThreadMappingInfo::_lfp |
Definition at line 177 of file nrnsection_mapping.hpp.
std::vector<CellMapping*> coreneuron::NrnThreadMappingInfo::mappingvec |
list of cells mapping
Definition at line 172 of file nrnsection_mapping.hpp.
std::vector<int> coreneuron::NrnThreadMappingInfo::segment_ids |
list of segment ids
Definition at line 175 of file nrnsection_mapping.hpp.