101 Target(
const size_t tid,
const size_t rank,
const synindex syn_id,
const size_t lcid );
128 void set_tid(
const size_t tid );
175 : remote_target_id_( 0 )
180 : remote_target_id_( target.remote_target_id_ )
194 : remote_target_id_( 0 )
260 switch ( set_status_to )
Exception to be thrown if an internal error occurs.
Definition exceptions.h:1220
double offset_
Definition target.h:305
OffGridTarget()
Definition target.h:313
double get_offset() const
Definition target.h:326
check legal size
Definition target.h:78
double get_offset() const
Return offset.
Definition target.h:290
static constexpr uint64_t MASK_LCID
Definition target.h:92
static constexpr uint64_t MASK_TID
Definition target.h:94
static constexpr uint64_t MASK_SYN_ID
Definition target.h:95
static constexpr uint8_t BITPOS_TID
Definition target.h:84
static constexpr uint8_t BITPOS_PROCESSED_FLAG
Definition target.h:86
Target & operator=(const Target &)
Definition target.h:186
static constexpr uint8_t BITPOS_LCID
Definition target.h:82
static constexpr uint8_t BITPOS_SYN_ID
Definition target.h:85
void set_syn_id(const synindex syn_id)
Set the synapse-type id.
Definition target.h:245
Target()
Definition target.h:174
bool is_processed() const
Return the status od the target identifier: processed or unprocessed.
Definition target.h:284
size_t get_rank() const
Return rank.
Definition target.h:226
void set_rank(const size_t rank)
Set rank.
Definition target.h:219
size_t get_lcid() const
Return local connection id.
Definition target.h:213
uint64_t remote_target_id_
Definition target.h:80
enum_status_target_id get_status() const
Get the status of the target identifier: processed or unprocessed.
Definition target.h:274
synindex get_syn_id() const
Return synapse-type id.
Definition target.h:252
size_t get_tid() const
Return thread id.
Definition target.h:239
StaticAssert< NUM_BITS_PROCESSED_FLAG==1U >::success bits_for_processed_flag
Definition target.h:88
static constexpr uint64_t MASK_RANK
Definition target.h:93
void mark_for_removal()
Set the status of the target identifier to processed.
Definition target.h:296
static constexpr uint64_t MASK_PROCESSED_FLAG
Definition target.h:96
void set_status(enum_status_target_id status)
Set the status of the target identifier: processed or unprocessed.
Definition target.h:258
StaticAssert< BITPOS_PROCESSED_FLAG==63U >::success position_of_processed_flag
Definition target.h:89
static constexpr uint8_t BITPOS_RANK
Definition target.h:83
void set_tid(const size_t tid)
Set thread id.
Definition target.h:232
void set_lcid(const size_t lcid)
Set local connection id.
Definition target.h:206
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33
constexpr uint64_t generate_bit_mask(const uint8_t num_bits, const uint8_t bit_position)
Default types used by the NEST kernel.
Definition nest_types.h:60
constexpr uint8_t NUM_BITS_PROCESSED_FLAG
Definition nest_types.h:84
constexpr uint8_t NUM_BITS_SYN_ID
Definition nest_types.h:77
constexpr uint8_t NUM_BITS_LCID
Definition nest_types.h:83
constexpr int64_t MAX_TID
Definition nest_types.h:95
constexpr uint64_t MAX_SYN_ID
Definition nest_types.h:96
constexpr uint8_t NUM_BITS_RANK
Definition nest_types.h:75
enum_status_target_id
This class implements a 64-bit target neuron identifier type.
Definition target.h:72
@ TARGET_ID_UNPROCESSED
Definition target.h:74
@ TARGET_ID_PROCESSED
Definition target.h:73
StaticAssert< sizeof(Target)==8 >::success success_target_size
Definition target.h:172
constexpr uint8_t NUM_BITS_TID
Definition nest_types.h:76
constexpr int64_t MAX_RANK
Definition nest_types.h:94
size_t synindex
For enumerations of synapse types.
Definition nest_types.h:115
constexpr uint64_t MAX_LCID
Definition nest_types.h:93
Compile time assertions.
Definition static_assert.h:47