![]() |
NEURON
|
Compartment mapping information for NrnThread. More...
#include <nrnsection_mapping.hpp>
Public Member Functions | |
size_t | size () const |
number of cells More... | |
std::shared_ptr< CellMapping > | get_cell_mapping (int gid) const |
get cell mapping information for given gid if exist otherwise return nullptr. More... | |
void | add_cell_mapping (std::shared_ptr< 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::unordered_map< int, std::shared_ptr< CellMapping > > | cell_mappings |
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 161 of file nrnsection_mapping.hpp.
|
inline |
add mapping information of new cell
Definition at line 187 of file nrnsection_mapping.hpp.
|
inline |
add a new segment
Definition at line 196 of file nrnsection_mapping.hpp.
|
inline |
get cell mapping information for given gid if exist otherwise return nullptr.
Definition at line 178 of file nrnsection_mapping.hpp.
|
inline |
Resize the lfp vector.
Definition at line 201 of file nrnsection_mapping.hpp.
|
inline |
number of cells
Definition at line 171 of file nrnsection_mapping.hpp.
std::vector<double> coreneuron::NrnThreadMappingInfo::_lfp |
Definition at line 168 of file nrnsection_mapping.hpp.
std::unordered_map<int, std::shared_ptr<CellMapping> > coreneuron::NrnThreadMappingInfo::cell_mappings |
list of cells mapping
Definition at line 163 of file nrnsection_mapping.hpp.
std::vector<int> coreneuron::NrnThreadMappingInfo::segment_ids |
list of segment ids
Definition at line 166 of file nrnsection_mapping.hpp.