Cell identifiers and indexes¶
These types, defined in
common_types.hpp, are used as identifiers for
cells and members of cell-local collections.
cell_local_size_type; and uses
cell_tag_type at the time of writing. However,
this could change, e.g. to handle models that cell gid that don’t
fit into a 32 bit unsigned integer.
It is thus recommended that these type aliases be used whenever identifying
or counting cells and cell members.
An integer type used for identifying cells globally.
An unsigned integer for sizes of collections of cells. Unsigned type for counting
For indexes into cell-local data.
For labels of cell-local data. Local labels are used for groups of items within a particular cell-local collection. Each label is associated with a range of
cell_lid_typeindexing the individual items on the cell. The range is generated when the model is built and is not directly available to the user.
For selecting an individual item from a group of items sharing the same
Iterate over the items of the group in a round-robin fashion.
Halts at the current item of the group until the round_robin policy is called (again).
Assert that ony one item is available in the group. Throws an exception if the assertion fails.
- enumerator round_robin¶
For local identification of an item on an unspecified cell. This is used for selecting the target of a connection or the local site of a gap junction connection. The cell
gidis implicitly known from the recipe.
For global identification of an item on a cell. This is used for selecting the source of a connection or the peer site of a gap junction connection.
An unsigned integer for for counts of cell-local data.
For global identification of an item of cell local data. Items of
enum class cell_kind¶
Enumeration used to identify the cell type/kind, used by the model to group equal kinds in the same cell group.
A cell with morphology described by branching 1D cable segments.
Leaky-integrate and fire neuron.
Proxy cell that generates spikes from a spike sequence provided by the user.
Proxy cell used for benchmarking.
- enumerator cable¶