NEURON
nrncore_utils.h
Go to the documentation of this file.
1 #ifndef NRN_NRNCORE_UTILS_H
2 #define NRN_NRNCORE_UTILS_H
3 
4 #include <string>
5 
6 class NrnThread;
7 
8 void model_ready();
9 int count_distinct(double *data, int len);
10 extern void nrnbbcore_register_mapping();
11 bool file_exist(const std::string& path);
12 extern "C" int nrn_dblpntr2nrncore(double* pd, NrnThread& nt, int& type, int& index);
13 
14 
15 #if defined(HAVE_DLFCN_H)
16 
17 bool is_coreneuron_loaded();
18 void* get_handle_for_lib(const char* path);
19 void* get_coreneuron_handle();
20 void check_coreneuron_compatibility(void* handle);
21 
22 #endif
23 
24 
25 #endif //NRN_NRNCORE_UTILS_H
26 
#define data
Definition: rbtqueue.cpp:49
short type
Definition: cabvars.h:10
Represent main neuron object computed by single thread.
Definition: multicore.h:58
void model_ready()
int nrn_dblpntr2nrncore(double *pd, NrnThread &nt, int &type, int &index)
void nrnbbcore_register_mapping()
For BBP use case, we want to write section-segment mapping to gid_3.dat file.
bool file_exist(const std::string &path)
Check if file with given path exist.
int count_distinct(double *data, int len)
Count number of unique elements in the array.
short index
Definition: cabvars.h:11