NEURON
CellMapping Struct Reference

Compartment mapping information for a cell. More...

#include <nrnsection_mapping.h>

Public Member Functions

 CellMapping (int g, SecMapping *s)
 
int num_sections ()
 total number of sections in a cell More...
 
int num_segments ()
 total number of segments in a cell More...
 
size_t size ()
 number of section lists More...
 
 ~CellMapping ()
 

Public Attributes

int gid
 gid of a cell More...
 
std::vector< SecMapping * > secmapping
 list of section lists (like soma, axon, apic) More...
 

Detailed Description

Compartment mapping information for a cell.

A cell can have multiple section list types like soma, axon, apic, dend etc. User will add these section lists using HOC interface.

Definition at line 46 of file nrnsection_mapping.h.

Constructor & Destructor Documentation

◆ CellMapping()

CellMapping::CellMapping ( int  g,
SecMapping s 
)
inline

Definition at line 53 of file nrnsection_mapping.h.

◆ ~CellMapping()

CellMapping::~CellMapping ( )
inline

Definition at line 81 of file nrnsection_mapping.h.

Member Function Documentation

◆ num_sections()

int CellMapping::num_sections ( )
inline

total number of sections in a cell

Definition at line 59 of file nrnsection_mapping.h.

◆ num_segments()

int CellMapping::num_segments ( )
inline

total number of segments in a cell

Definition at line 68 of file nrnsection_mapping.h.

◆ size()

size_t CellMapping::size ( )
inline

number of section lists

Definition at line 77 of file nrnsection_mapping.h.

Member Data Documentation

◆ gid

int CellMapping::gid

gid of a cell

Definition at line 48 of file nrnsection_mapping.h.

◆ secmapping

std::vector<SecMapping*> CellMapping::secmapping

list of section lists (like soma, axon, apic)

Definition at line 51 of file nrnsection_mapping.h.


The documentation for this struct was generated from the following file: