NEURON
nrn2core_direct.h File Reference
#include <iostream>
#include <vector>
#include <cstdint>

Go to the source code of this file.

Variables

bool corenrn_embedded
 --> Coreneuron More...
 
int corenrn_embedded_nthread
 
void(* nrn2core_group_ids_ )(int *)
 
void(* nrn2core_mkmech_info_ )(std::ostream &)
 
void *(* nrn2core_get_global_dbl_item_ )(void *, const char *&name, int &size, double *&val)
 
int(* nrn2core_get_global_int_item_ )(const char *name)
 
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)
 
int(* nrn2core_get_dat2_1_ )(int tid, int &n_real_cell, int &ngid, int &n_real_gid, int &nnode, int &ndiam, int &nmech, int *&tml_index, int *&ml_nodecount, int &nidata, int &nvdata, int &nweight)
 
int(* nrn2core_get_dat2_2_ )(int tid, int *&v_parent_index, double *&a, double *&b, double *&area, double *&v, double *&diamvec)
 
int(* nrn2core_get_dat2_mech_ )(int tid, size_t i, int dsz_inst, int *&nodeindices, double *&data, int *&pdata, std::vector< uint32_t > &nmodlrandom, std::vector< int > &pointer2type)
 
int(* nrn2core_get_dat2_3_ )(int tid, int nweight, int *&output_vindex, double *&output_threshold, int *&netcon_pnttype, int *&netcon_pntindex, double *&weights, double *&delays)
 
int(* nrn2core_get_dat2_corepointer_ )(int tid, int &n)
 
int(* nrn2core_get_dat2_corepointer_mech_ )(int tid, int type, int &icnt, int &dcnt, int *&iarray, double *&darray)
 
int(* nrn2core_get_dat2_vecplay_ )(int tid, std::vector< int > &indices)
 
int(* nrn2core_get_dat2_vecplay_inst_ )(int tid, int i, int &vptype, int &mtype, int &ix, int &sz, double *&yvec, double *&tvec, int &last_index, int &discon_index, int &ubound_index)
 
void(* nrn2core_part2_clean_ )()
 
void(* nrn2core_get_dat3_cell_count_ )(int &cell_count)
 
void(* nrn2core_get_dat3_cellmapping_ )(int i, int &gid, int &nsec, int &nseg, int &n_seclist)
 
void(* nrn2core_get_dat3_secmapping_ )(int i_c, int i_sec, std::string &sclname, int &nsec, int &nseg, size_t &total_lfp_factors, int &n_electrodes, std::vector< int > &data_sec, std::vector< int > &data_seg, std::vector< double > &data_lfp)
 
void(* nrn2core_get_trajectory_requests_ )(int tid, int &bsize, int &n_pr, void **&vpr, int &n_trajec, int *&types, int *&indices, double **&pvars, double **&varrays)
 
void(* nrn2core_trajectory_values_ )(int tid, int n_pr, void **vpr, double t)
 
void(* nrn2core_trajectory_return_ )(int tid, int n_pr, int bsize, int vecsz, void **vpr, double t)
 
int(* nrn2core_all_spike_vectors_return_ )(std::vector< double > &spikevec, std::vector< int > &gidvec)
 
void(* nrn2core_all_weights_return_ )(std::vector< double * > &weights)
 
size_t(* nrn2core_type_return_ )(int type, int tid, double *&data, std::vector< double * > &mdata)
 , Information from NEURON to help with copying data to NEURON. More...
 

Variable Documentation

◆ corenrn_embedded

bool corenrn_embedded
extern

--> Coreneuron

Definition at line 47 of file nrn_setup.cpp.

◆ corenrn_embedded_nthread

int corenrn_embedded_nthread
extern

Definition at line 49 of file nrn_setup.cpp.

◆ nrn2core_all_spike_vectors_return_

int(* nrn2core_all_spike_vectors_return_) (std::vector< double > &spikevec, std::vector< int > &gidvec) ( std::vector< double > &  spikevec,
std::vector< int > &  gidvec 
)
extern

Definition at line 73 of file nrn_setup.cpp.

◆ nrn2core_all_weights_return_

void(* nrn2core_all_weights_return_) (std::vector< double * > &weights) ( std::vector< double * > &  weights)
extern

Definition at line 75 of file nrn_setup.cpp.

◆ nrn2core_get_dat1_

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) ( int  tid,
int &  n_presyn,
int &  n_netcon,
std::vector< int > &  output_gid,
int *&  netcon_srcgid,
std::vector< int > &  netcon_negsrcgid_tid 
)
extern

Definition at line 17 of file phase1.cpp.

◆ nrn2core_get_dat2_1_

int(* nrn2core_get_dat2_1_) (int tid, int &n_real_cell, int &ngid, int &n_real_gid, int &nnode, int &ndiam, int &nmech, int *&tml_index, int *&ml_nodecount, int &nidata, int &nvdata, int &nweight) ( int  tid,
int &  n_real_cell,
int &  ngid,
int &  n_real_gid,
int &  nnode,
int &  ndiam,
int &  nmech,
int *&  tml_index,
int *&  ml_nodecount,
int &  nidata,
int &  nvdata,
int &  nweight 
)
extern

Definition at line 27 of file phase2.cpp.

◆ nrn2core_get_dat2_2_

int(* nrn2core_get_dat2_2_) (int tid, int *&v_parent_index, double *&a, double *&b, double *&area, double *&v, double *&diamvec) ( int  tid,
int *&  v_parent_index,
double *&  a,
double *&  b,
double *&  area,
double *&  v,
double *&  diamvec 
)
extern

Definition at line 40 of file phase2.cpp.

◆ nrn2core_get_dat2_3_

int(* nrn2core_get_dat2_3_) (int tid, int nweight, int *&output_vindex, double *&output_threshold, int *&netcon_pnttype, int *&netcon_pntindex, double *&weights, double *&delays) ( int  tid,
int  nweight,
int *&  output_vindex,
double *&  output_threshold,
int *&  netcon_pnttype,
int *&  netcon_pntindex,
double *&  weights,
double *&  delays 
)
extern

Definition at line 57 of file phase2.cpp.

◆ nrn2core_get_dat2_corepointer_

int(* nrn2core_get_dat2_corepointer_) (int tid, int &n) ( int  tid,
int &  n 
)
extern

Definition at line 66 of file phase2.cpp.

◆ nrn2core_get_dat2_corepointer_mech_

int(* nrn2core_get_dat2_corepointer_mech_) (int tid, int type, int &icnt, int &dcnt, int *&iarray, double *&darray) ( int  tid,
int  type,
int &  icnt,
int &  dcnt,
int *&  iarray,
double *&  darray 
)
extern

Definition at line 68 of file phase2.cpp.

◆ nrn2core_get_dat2_mech_

int(* nrn2core_get_dat2_mech_) (int tid, size_t i, int dsz_inst, int *&nodeindices, double *&data, int *&pdata, std::vector< uint32_t > &nmodlrandom, std::vector< int > &pointer2type) ( int  tid,
size_t  i,
int  dsz_inst,
int *&  nodeindices,
double *&  data,
int *&  pdata,
std::vector< uint32_t > &  nmodlrandom,
std::vector< int > &  pointer2type 
)
extern

Definition at line 48 of file phase2.cpp.

◆ nrn2core_get_dat2_vecplay_

int(* nrn2core_get_dat2_vecplay_) (int tid, std::vector< int > &indices) ( int  tid,
std::vector< int > &  indices 
)
extern

Definition at line 75 of file phase2.cpp.

◆ nrn2core_get_dat2_vecplay_inst_

int(* nrn2core_get_dat2_vecplay_inst_) (int tid, int i, int &vptype, int &mtype, int &ix, int &sz, double *&yvec, double *&tvec, int &last_index, int &discon_index, int &ubound_index) ( int  tid,
int  i,
int &  vptype,
int &  mtype,
int &  ix,
int &  sz,
double *&  yvec,
double *&  tvec,
int &  last_index,
int &  discon_index,
int &  ubound_index 
)
extern

Definition at line 77 of file phase2.cpp.

◆ nrn2core_get_dat3_cell_count_

void(* nrn2core_get_dat3_cell_count_) (int &cell_count) ( int &  cell_count)
extern

Definition at line 15 of file phase3.cpp.

◆ nrn2core_get_dat3_cellmapping_

void( * nrn2core_get_dat3_cellmapping_) (int i, int &gid, int &nsec, int &nseg, int &n_seclist) ( int  i,
int &  gid,
int &  nsec,
int &  nseg,
int &  n_seclist 
)
extern

Definition at line 16 of file phase3.cpp.

◆ nrn2core_get_dat3_secmapping_

void(* nrn2core_get_dat3_secmapping_) (int i_c, int i_sec, std::string &sclname, int &nsec, int &nseg, size_t &total_lfp_factors, int &n_electrodes, std::vector< int > &data_sec, std::vector< int > &data_seg, std::vector< double > &data_lfp) ( int  i_c,
int  i_sec,
std::string &  sclname,
int &  nsec,
int &  nseg,
size_t &  total_lfp_factors,
int &  n_electrodes,
std::vector< int > &  data_sec,
std::vector< int > &  data_seg,
std::vector< double > &  data_lfp 
)
extern

Definition at line 17 of file phase3.cpp.

◆ nrn2core_get_global_dbl_item_

void*(* nrn2core_get_global_dbl_item_) (void *, const char *&name, int &size, double *&val) ( void *  ,
const char *&  name,
int &  size,
double *&  val 
)
extern

Definition at line 22 of file global_vars.cpp.

◆ nrn2core_get_global_int_item_

int(* nrn2core_get_global_int_item_) (const char *name) ( const char *  name)
extern

Definition at line 23 of file global_vars.cpp.

◆ nrn2core_get_trajectory_requests_

void(* nrn2core_get_trajectory_requests_) (int tid, int &bsize, int &n_pr, void **&vpr, int &n_trajec, int *&types, int *&indices, double **&pvars, double **&varrays) ( int  tid,
int &  bsize,
int &  n_pr,
void **&  vpr,
int &  n_trajec,
int *&  types,
int *&  indices,
double **&  pvars,
double **&  varrays 
)
extern

Definition at line 59 of file nrn_setup.cpp.

◆ nrn2core_group_ids_

void(* nrn2core_group_ids_) (int *) ( int *  )
extern

Definition at line 51 of file nrn_setup.cpp.

◆ nrn2core_mkmech_info_

void(* nrn2core_mkmech_info_) (std::ostream &) ( std::ostream &  )
extern

◆ nrn2core_part2_clean_

void(* nrn2core_part2_clean_) () ( )
extern

Definition at line 55 of file main1.cpp.

◆ nrn2core_trajectory_return_

void( * nrn2core_trajectory_return_) (int tid, int n_pr, int bsize, int vecsz, void **vpr, double t) ( int  tid,
int  n_pr,
int  bsize,
int  vecsz,
void **  vpr,
double  t 
)
extern

Definition at line 71 of file nrn_setup.cpp.

◆ nrn2core_trajectory_values_

void(* nrn2core_trajectory_values_) (int tid, int n_pr, void **vpr, double t) ( int  tid,
int  n_pr,
void **  vpr,
double  t 
)
extern

Definition at line 69 of file nrn_setup.cpp.

◆ nrn2core_type_return_

size_t(* nrn2core_type_return_) (int type, int tid, double *&data, std::vector< double * > &mdata) ( int  type,
int  tid,
double *&  data,
std::vector< double * > &  mdata 
)
extern

, Information from NEURON to help with copying data to NEURON.

Info for copying voltage, i_membrane_, and mechanism data. See implementaton in nrn/src/nrniv/nrnbbcore_write.cpp:nrnthreads_type_return. Return is size of either the returned data pointer or the number of pointers in mdata. tid is the thread index.

Definition at line 30 of file core2nrn_data_return.cpp.