Go to the documentation of this file.
58 #define CABLESECTION 1
67 #define BEFORE_INITIAL 0
68 #define AFTER_INITIAL 1
69 #define BEFORE_BREAKPOINT 2
72 #define BEFORE_AFTER_SIZE 5
137 }
else if (co <= 0.) {
151 constexpr
int _iml = 0;
152 int const STRIDE{_cntml_padded + _iml};
156 double* pe = p1 - p2 * STRIDE;
160 inline double nrn_ghk(
double v,
double ci,
double co,
double z,
double celsius) {
161 auto const efun = [](
double x) {
162 if (std::abs(x) < 1e-4) {
165 return x / (std::exp(x) - 1.);
169 double const eco{co * efun(+temp)};
170 double const eci{ci * efun(-temp)};
235 extern void net_sem_from_gpu(
int sendtype,
int i_vdata,
int,
int ith,
int ipnt,
double,
double);
void net_event(Point_process *, double)
void(*)(int, int, double *, Datum *, ThreadDatum *, NrnThread *, Memb_list *, int) thread_table_check_t
void nrn2ncs_outputevent(int netcon_output_index, double firetime)
int * nrn_fornetcon_type_
int nrn_get_mechtype(const char *name)
Get mechanism type by the mechanism name.
void nrn_jacob_capacitance(NrnThread *, Memb_list *, int)
void(*)(Point_process *, int, double) pnt_receive_t
void _nrn_thread_reg1(int i, void(*f)(ThreadDatum *))
int * nrn_fornetcon_index_
void(*)(NrnThread *, Memb_list *) nrn_watch_check_t
constexpr double nrn_nernst(double ci, double co, double z, double celsius)
void hoc_reg_ba(int, mod_f_t, int)
void add_nrn_fornetcons(int, int)
const int ion_global_map_member_size
int point_register_mech(const char **, mod_alloc_t alloc, mod_f_t cur, mod_f_t jacob, mod_f_t stat, mod_f_t initialize, mod_f_t private_constructor, mod_f_t private_destructor, int nrnpointerindex, mod_f_t constructor, mod_f_t destructor, int vectorized)
constexpr void nrn_wrote_conc(int type, double *p1, int p2, int it, double **gimap, double celsius, int _cntml_padded)
int register_mech(const char **m, mod_alloc_t alloc, mod_f_t cur, mod_f_t jacob, mod_f_t stat, mod_f_t initialize, mod_f_t private_constructor, mod_f_t private_destructor, int nrnpointerindex, int vectorized)
void net_move(void **, Point_process *, double)
void * hoc_Emalloc(size_t)
constexpr double gasconstant
mod_f_t private_destructor
THIS FILE IS AUTO GENERATED DONT MODIFY IT.
void _nrn_layout_reg(int, int)
void register_constructor(mod_f_t constructor)
void hoc_register_net_receive_buffering(NetBufReceive_t, int)
double ** nrn_ion_global_map
mod_f_t private_constructor
void(*)(NrnThread *, Memb_list *, int) mod_f_t
void(* thread_mem_init_)(ThreadDatum *)
thread_table_check_t thread_table_check_
int nrn_ion_global_map_size
int nrn_mech_depend(int type, int *dependencies)
void(*)(double *, Datum *, int) mod_alloc_t
void nrn_writes_conc(int, int)
void(*)(double *, int *, int *, int *, int, int, double *, Datum *, ThreadDatum *, NrnThread *, Memb_list *, double) bbcore_read_t
void hoc_register_net_send_buffering(int)
void net_send(void **, int, Point_process *, double, double)
void hoc_register_watch_check(nrn_watch_check_t, int)
void artcell_net_move(void **, Point_process *, double)
const char * nrn_get_mechname(int type)
void add_nrn_has_net_event(int)
void hoc_register_dparam_semantics(int type, int, const char *name)
void hoc_register_var(DoubScal *ds, DoubVec *dv, VoidFunc *)
constexpr double ktf(double celsius)
void(* setdata_)(double *, Datum *)
void(*)(double *, int *, int *, int *, int, int, double *, Datum *, ThreadDatum *, NrnThread *, Memb_list *, double) bbcore_write_t
double nrn_ghk(double v, double ci, double co, double z, double celsius)
void artcell_net_send(void **, int, Point_process *, double, double)
void hoc_register_prop_size(int, int, int)
void(* thread_cleanup_)(ThreadDatum *)
void net_sem_from_gpu(int sendtype, int i_vdata, int, int ith, int ipnt, double, double)
void(*)(NrnThread *) NetBufReceive_t
void _nrn_thread_reg0(int i, void(*f)(ThreadDatum *))