23#ifndef SOURCE_TABLE_POSITION_H
24#define SOURCE_TABLE_POSITION_H
119 assert(
lcid == -1 );
136 assert(
lcid >= -1 );
Container with a vector-of-vectors structure.
Definition block_vector.h:156
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33
bool operator<=(const Time &t1, const Time &t2)
Definition nest_time.h:578
bool operator<(const histentry_extended &he, double t)
Definition histentry.h:67
bool operator>(const Time &t1, const Time &t2)
Definition nest_time.h:572
bool operator==(const Time &t1, const Time &t2)
Definition nest_time.h:554
bool operator>=(const Time &t1, const Time &t2)
Definition nest_time.h:584
bool operator!=(const Time &t1, const Time &t2)
Definition nest_time.h:560
Three-tuple to store position in 3d vector of sources.
Definition source_table_position.h:40
SourceTablePosition()
Definition source_table_position.h:67
bool is_invalid() const
Returns true if the indices point outside the SourceTable, e.g., to signal that the end was reached.
Definition source_table_position.h:127
void decrease()
Decreases the inner most index (lcid).
Definition source_table_position.h:133
long tid
thread index
Definition source_table_position.h:41
long lcid
local connection index
Definition source_table_position.h:43
SourceTablePosition & operator=(const SourceTablePosition &rhs)=default
SourceTablePosition(const SourceTablePosition &rhs)=default
void seek_to_next_valid_index(const std::vector< std::vector< BlockVector< Source > > > &sources)
Decreases indices until a valid entry is found.
Definition source_table_position.h:82
long syn_id
synapse-type index
Definition source_table_position.h:42