![]() |
NEURON
|
Compartment mapping information for NrnThread. More...
#include <nrnsection_mapping.h>
Public Member Functions | |
size_t | size () |
number of cells More... | |
void | clear () |
after writing NrnThread to file we remove all previous mapping information, free memory. More... | |
~NrnMappingInfo () | |
memory cleanup More... | |
CellMapping * | get_cell_mapping (int gid) |
get cell mapping information for given gid if exist otherwise return NULL. More... | |
void | add_sec_mapping (int gid, SecMapping *s) |
add section mapping information for given gid if cell is not peviously added, create new cell mapping. More... | |
Public Attributes | |
std::vector< CellMapping * > | mapping |
list of cells mapping More... | |
Compartment mapping information for NrnThread.
NrnThread could have more than one cell in cellgroup and we store this in vector.
Definition at line 93 of file nrnsection_mapping.h.
|
inline |
memory cleanup
Definition at line 113 of file nrnsection_mapping.h.
|
inline |
add section mapping information for given gid if cell is not peviously added, create new cell mapping.
Definition at line 133 of file nrnsection_mapping.h.
|
inline |
after writing NrnThread to file we remove all previous mapping information, free memory.
Definition at line 105 of file nrnsection_mapping.h.
|
inline |
get cell mapping information for given gid if exist otherwise return NULL.
Definition at line 122 of file nrnsection_mapping.h.
|
inline |
number of cells
Definition at line 98 of file nrnsection_mapping.h.
std::vector<CellMapping*> NrnMappingInfo::mapping |
list of cells mapping
Definition at line 95 of file nrnsection_mapping.h.