1 #include <../../nrnconf.h>
9 static const char*
mechanism[] = {
"0",
"fastpas",
"g_fastpas",
"e_fastpas", 0, 0, 0};
23 field<double>{
"g_fastpas"},
24 field<double>{
"e_fastpas"});
34 for (
int i = 0;
i < count; ++
i) {
43 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.
void hoc_register_parm_default(int mechtype, const std::vector< double > *pd)
static constexpr auto e_index
static void pas_alloc(Prop *p)
static void pas_jacob(neuron::model_sorted_token const &, NrnThread *nt, Memb_list *ml, int type)
static std::vector< double > parm_default
static const char * mechanism[]
static void pas_cur(neuron::model_sorted_token const &, NrnThread *nt, Memb_list *ml, int type)
static constexpr auto g_index
A view into a set of mechanism instances.
std::vector< double * > data()
Get a vector of double* representing the model data.
Represent main neuron object computed by single thread.
double * node_d_storage()