1 #ifndef NRN_NRNCORE_UTILS_H 2 #define NRN_NRNCORE_UTILS_H 15 #if defined(HAVE_DLFCN_H) 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);
25 #endif //NRN_NRNCORE_UTILS_H
Represent main neuron object computed by single thread.
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.