![]() |
NEURON
|
Section to segment mapping. More...
#include <nrnsection_mapping.hpp>
Public Member Functions | |
SecMapping ()=default | |
SecMapping (std::string s) | |
size_t | num_sections () const noexcept |
return total number of sections in section list More... | |
size_t | num_segments () const |
return number of segments in section list More... | |
void | add_segment (int sec, int seg) |
add section to associated segment More... | |
Public Attributes | |
std::string | name |
name of section list More... | |
secseg_map_type | secmap |
map of section and associated segments More... | |
Section to segment mapping.
For a section list (of a particulat type), store mapping of section to segments a section is a arbitrary user classification to recognize some segments (ex: api, soma, dend, axon)
Definition at line 34 of file nrnsection_mapping.hpp.
|
default |
|
inlineexplicit |
Definition at line 43 of file nrnsection_mapping.hpp.
|
inline |
add section to associated segment
Definition at line 59 of file nrnsection_mapping.hpp.
|
inlinenoexcept |
return total number of sections in section list
Definition at line 47 of file nrnsection_mapping.hpp.
|
inline |
return number of segments in section list
Definition at line 52 of file nrnsection_mapping.hpp.
std::string coreneuron::SecMapping::name |
name of section list
Definition at line 36 of file nrnsection_mapping.hpp.
secseg_map_type coreneuron::SecMapping::secmap |
map of section and associated segments
Definition at line 39 of file nrnsection_mapping.hpp.