1 #include <../../nrnconf.h>
10 static const char*
mechanism[] = {
"0",
"capacitance",
"cm", 0,
"i_cap", 0, 0};
14 static constexpr
auto nparm = 2;
43 double cfac = .001 * _nt->
cj;
45 for (
int i = 0;
i < count;
i++) {
56 for (
int i = 0;
i < count; ++
i) {
67 double cfac = .001 * _nt->
cj;
72 for (
int i = 0;
i < count;
i++) {
84 double cfac = .001 * _nt->
cj;
86 for (
int i = 0;
i < count;
i++) {
99 for (
int i = 0;
i < count;
i++) {
104 for (
int i = 0;
i < count; ++
i) {
int nrn_get_mechtype(const char *name)
Get mechanism type by the mechanism name.
void hoc_register_prop_size(int, int, int)
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)
static void register_data_fields(int mech_type, Fields const &... fields)
Type- and array-aware version of hoc_register_prop_size.
static constexpr auto cm_index
void nrn_capacity_current(neuron::model_sorted_token const &sorted_token, NrnThread *_nt, Memb_list *ml)
static void cap_init(neuron::model_sorted_token const &, NrnThread *, Memb_list *, int)
void nrn_cap_jacob(neuron::model_sorted_token const &sorted_token, NrnThread *_nt, Memb_list *ml)
void nrn_div_capacity(neuron::model_sorted_token const &sorted_token, NrnThread *_nt, Memb_list *ml)
void nrn_mul_capacity(neuron::model_sorted_token const &sorted_token, NrnThread *_nt, Memb_list *ml)
static constexpr auto i_cap_index
static constexpr auto nparm
static void cap_alloc(Prop *)
static constexpr auto ndparm
static std::vector< double > parm_default
static const char * mechanism[]
void hoc_register_parm_default(int mechtype, const std::vector< double > *pd)
A view into a set of mechanism instances.
int type() const
Get the mechanism type.
Represent main neuron object computed by single thread.
double * node_sav_rhs_storage()
double * node_rhs_storage()
double * node_d_storage()
Version of Memb_list for use in performance-critical code.