51 explicit Source(
const size_t node_id,
const bool primary );
97 , primary_( is_primary )
Stores the node ID of a presynaptic neuron and the number of local targets, along with a flag,...
Definition source.h:41
bool is_disabled() const
Returns whether Source is disabled.
Definition source.h:140
bool disabled_
connection has been disabled
Definition source.h:47
Source()
Definition source.h:86
friend bool operator>(const Source &lhs, const Source &rhs)
Definition source.h:152
bool primary_
source of primary connection
Definition source.h:46
size_t get_node_id() const
Returns this Source's node ID.
Definition source.h:104
void disable()
Disables Source.
Definition source.h:134
bool is_processed() const
Definition source.h:116
void set_processed(const bool processed)
Definition source.h:110
bool processed_
whether this target has already been moved to the MPI buffer
Definition source.h:44
friend bool operator<(const Source &lhs, const Source &rhs)
Definition source.h:146
void set_primary(const bool primary)
Sets whether Source is primary.
Definition source.h:122
bool is_primary() const
Returns whether Source is primary.
Definition source.h:128
friend bool operator==(const Source &lhs, const Source &rhs)
Definition source.h:158
size_t node_id_
node ID of source
Definition source.h:43
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33
constexpr uint64_t MAX_NODE_ID
Definition nest_types.h:98
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
constexpr uint8_t NUM_BITS_NODE_ID
Definition nest_types.h:89