#include <../../nrnconf.h>
#include <cstdlib>
#include "cabcode.h"
#include "section.h"
#include "neuron.h"
#include "neuron/cache/mechanism_range.hpp"
#include "membfunc.h"
#include "parse.hpp"
#include "membdef.h"
#include "nrniv_mf.h"
#include "nrnunits.h"
#include <array>
#include <string>
#include <map>
#include <set>
Go to the source code of this file.
|
static void | ion_alloc (Prop *) |
|
static void | ion_cur (neuron::model_sorted_token const &, NrnThread *, Memb_list *, int) |
|
static void | ion_init (neuron::model_sorted_token const &, NrnThread *, Memb_list *, int) |
|
int | nrn_is_ion (int type) |
|
double | nrn_ion_charge (Symbol *sym) |
|
void | ion_register (void) |
|
void | ion_charge (void) |
|
void | reg_parm_default (int mechtype, const std::string &name) |
|
void | ion_reg (const char *name, double valence) |
|
void | nrn_verify_ion_charge_defined () |
|
double | nrn_nernst (double ci, double co, double z) |
|
void | nrn_wrote_conc (Symbol *sym, double &erev, double ci, double co, int it) |
|
void | nernst (void) |
|
static double | efun (double x) |
|
double | nrn_ghk (double v, double ci, double co, double z) |
|
void | ghk (void) |
|
double | nrn_nernst_coef (int type) |
|
static void | add_mechtype2ionconctype (int mechtype, int iontype, int i) |
|
static bool | mech_uses_ionconctype (int mechtype, int iontype, int i) |
|
void | nrn_check_conc_write (Prop *pmech, Prop *pion, int i) |
|
void | ion_style (void) |
|
int | nrn_vartype (const Symbol *sym) |
|
void | nrn_promote (Prop *p, int conc, int rev) |
|
void | second_order_cur (NrnThread *nt) |
|
◆ charge
◆ conci0
◆ conco0
◆ global_charge
◆ global_conci
◆ global_conco
◆ ktf
◆ VAL_SENTINAL
#define VAL_SENTINAL -10000. |
◆ add_mechtype2ionconctype()
static void add_mechtype2ionconctype |
( |
int |
mechtype, |
|
|
int |
iontype, |
|
|
int |
i |
|
) |
| |
|
static |
◆ efun()
static double efun |
( |
double |
x | ) |
|
|
static |
◆ ghk()
◆ ion_alloc()
static void ion_alloc |
( |
Prop * |
p | ) |
|
|
static |
◆ ion_charge()
◆ ion_cur()
◆ ion_init()
◆ ion_reg()
void ion_reg |
( |
const char * |
name, |
|
|
double |
valence |
|
) |
| |
◆ ion_register()
void ion_register |
( |
void |
| ) |
|
◆ ion_style()
◆ mech_uses_ionconctype()
static bool mech_uses_ionconctype |
( |
int |
mechtype, |
|
|
int |
iontype, |
|
|
int |
i |
|
) |
| |
|
static |
◆ nernst()
◆ nrn_check_conc_write()
void nrn_check_conc_write |
( |
Prop * |
pmech, |
|
|
Prop * |
pion, |
|
|
int |
i |
|
) |
| |
◆ nrn_ghk()
double nrn_ghk |
( |
double |
v, |
|
|
double |
ci, |
|
|
double |
co, |
|
|
double |
z |
|
) |
| |
◆ nrn_ion_charge()
double nrn_ion_charge |
( |
Symbol * |
sym | ) |
|
◆ nrn_is_ion()
int nrn_is_ion |
( |
int |
type | ) |
|
◆ nrn_nernst()
double nrn_nernst |
( |
double |
ci, |
|
|
double |
co, |
|
|
double |
z |
|
) |
| |
◆ nrn_nernst_coef()
double nrn_nernst_coef |
( |
int |
type | ) |
|
◆ nrn_promote()
void nrn_promote |
( |
Prop * |
p, |
|
|
int |
conc, |
|
|
int |
rev |
|
) |
| |
◆ nrn_vartype()
int nrn_vartype |
( |
const Symbol * |
sym | ) |
|
◆ nrn_verify_ion_charge_defined()
void nrn_verify_ion_charge_defined |
( |
| ) |
|
◆ nrn_wrote_conc()
void nrn_wrote_conc |
( |
Symbol * |
sym, |
|
|
double & |
erev, |
|
|
double |
ci, |
|
|
double |
co, |
|
|
int |
it |
|
) |
| |
◆ reg_parm_default()
void reg_parm_default |
( |
int |
mechtype, |
|
|
const std::string & |
name |
|
) |
| |
◆ second_order_cur()
◆ ca_ion
◆ caparmdflt
◆ conci_index
constexpr auto conci_index = 1 |
|
staticconstexpr |
◆ conco_index
constexpr auto conco_index = 2 |
|
staticconstexpr |
◆ cur_index
constexpr auto cur_index = 3 |
|
staticconstexpr |
◆ dcurdv_index
constexpr auto dcurdv_index = 4 |
|
staticconstexpr |
◆ erev_index
constexpr auto erev_index = 0 |
|
staticconstexpr |
◆ ion_global_map
◆ ion_global_map_size
◆ ionparmdflt
◆ iontype_index_dparam
constexpr auto iontype_index_dparam = 0 |
|
staticconstexpr |
◆ k_ion
◆ kparmdflt
◆ mechanism
Initial value:= {
"0",
"na_ion",
"ena",
"nao",
"nai",
0,
"ina",
"dina_dv_",
0,
0}
Definition at line 26 of file eion.cpp.
◆ mechtype2ionconctype
std::map<int, std::set<int> > mechtype2ionconctype |
|
static |
◆ na_ion
◆ naparmdflt
◆ ndparam
constexpr auto ndparam = 1 |
|
staticconstexpr |
◆ nparm
◆ scdoub
Initial value:= {
{"ci0_na_ion", 0},
{"co0_na_ion", 0},
{0, 0}}
Definition at line 37 of file eion.cpp.