NEURON
nrncore_utils.h
Go to the documentation of this file.
1 #pragma once
3 
4 #include <string>
5 
6 struct NrnThread;
7 
8 void model_ready();
9 int count_distinct(double* data, int len);
10 extern void nrnbbcore_register_mapping();
12  NrnThread& nt,
13  int& type,
14  int& index);
15 
16 #include "nrnwrap_dlfcn.h"
17 #if defined(HAVE_DLFCN_H)
18 
19 bool is_coreneuron_loaded();
20 void* get_coreneuron_handle();
21 void check_coreneuron_compatibility(void* handle);
22 
23 #endif
handle_interface< non_owning_identifier< storage > > handle
Non-owning handle to a Mechanism instance.
int count_distinct(double *data, int len)
Count number of unique elements in the array.
void nrnbbcore_register_mapping()
For BBP use case, we want to write section-segment mapping to gid_3.dat file.
void model_ready()
int nrn_dblpntr2nrncore(neuron::container::data_handle< double > pd, NrnThread &nt, int &type, int &index)
short index
Definition: cabvars.h:11
short type
Definition: cabvars.h:10
Represent main neuron object computed by single thread.
Definition: multicore.h:58