20 std::vector<int>& output_gid,
22 std::vector<int>& netcon_negsrcgid_tid);
44 int valid = (*nrn2core_get_dat1_)(
50 this->
netcon_srcgids = std::vector<int>(netcon_srcgid, netcon_srcgid + n_netcon);
51 delete[] netcon_srcgid;
60 this->netcon_srcgids.end(),
82 const std::lock_guard<OMP_Mutex>
lock(
mut);
94 " already exists as an input port";
96 "Setup all the output ports on this process before using them as "
101 " already exists on this process as an output port";
std::vector< T > read_vector(size_t count)
bool fail() const
Is the file not open.
void close()
Close currently open file.
int read_int()
Parse a single integer entry.
std::vector< int > output_gids
std::vector< int > netcon_srcgids
void populate(NrnThread &nt, OMP_Mutex &mut)
std::vector< int > netcon_negsrcgid_tid
static double valid(void *v)
THIS FILE IS AUTO GENERATED DONT MODIFY IT.
void * ecalloc_align(size_t n, size_t size, size_t alignment)
std::map< int, InputPreSyn * > gid2in
std::vector< std::map< int, PreSyn * > > neg_gid2out
Vector of maps for negative presyns.
std::vector< std::vector< int > > nrnthreads_netcon_negsrcgid_tid
If a nrnthreads_netcon_srcgid is negative, need to determine the thread when in order to use the corr...
std::vector< int * > nrnthreads_netcon_srcgid
Only for setup vector of netcon source gids.
void hoc_execerror(const char *s1, const char *s2)
std::map< int, PreSyn * > gid2out
Maps for ouput and input presyns.
std::string to_string(const T &obj)
#define nrn_assert(x)
assert()-like macro, independent of NDEBUG status
int(* nrn2core_get_dat1_)(int tid, int &n_presyn, int &n_netcon, std::vector< int > &output_gid, int *&netcon_srcgid, std::vector< int > &netcon_negsrcgid_tid)
PreSynHelper * presyns_helper