#include <../../nrnconf.h>#include <stdlib.h>#include "section.h"#include "neuron.h"#include "membfunc.h"#include "parse.h"#include "membdef.h"
Defines | |
| #define | global_conci(type) ion_global_map[type][0] |
| #define | global_conco(type) ion_global_map[type][1] |
| #define | global_charge(type) ion_global_map[type][2] |
| #define | VAL_SENTINAL -10000. |
| #define | FARADAY 96485.309 |
| #define | ktf (1000.*8.3134*(celsius + 273.15)/FARADAY) |
Functions | |
| double | chkarg () |
| Section * | nrn_noerr_access () |
| static | ion_cur () |
| static | ion_init () |
| double | nrn_nernst () |
| double | nrn_ghk () |
| int | nrn_is_ion (int type) |
| double | nrn_ion_charge (Symbol *sym) |
| ion_register () | |
| ion_charge () | |
| ion_reg (char *name, double valence) | |
| double | nrn_nernst (double ci, double co, double z) |
| nrn_wrote_conc (Symbol *sym, double *pe, int it) | |
| int | nernst () |
| double | nrn_ghk (double v, double ci, double co, double z) |
| int | ghk () |
Variables | |
| Symlist * | hoc_symlist |
| Symlist * | hoc_built_in_symlist |
| Symlist * | hoc_top_level_symlist |
| #define FARADAY 96485.309 |
Referenced by nrn_ghk().
Referenced by ion_charge(), ion_reg(), nernst(), and nrn_ion_charge().
| #define ktf (1000.*8.3134*(celsius + 273.15)/FARADAY) |
Referenced by nernst(), nrn_ghk(), and nrn_nernst().
| #define VAL_SENTINAL -10000. |
Referenced by ion_reg().
| double chkarg | ( | ) |
| ion_charge | ( | ) |
References Memb_func::alloc, gargstr(), global_charge, hoc_execerror(), hoc_lookup(), memb_func, ret, s, Symbol::subtype, and Symbol::type.

| static ion_cur | ( | ) |
Referenced by ion_reg().
| static ion_init | ( | ) |
Referenced by ion_reg().
| ion_reg | ( | char * | name, | |
| double | valence | |||
| ) |
References _AMBIGUOUS, Memb_func::alloc, buf, DEF_cai, DEF_cao, DEF_ioni, DEF_iono, DEF_ki, DEF_ko, DEF_nai, DEF_nao, e, emalloc, erealloc, fprintf(), global_charge, global_conci, global_conco, hoc_lookup(), hoc_register_var(), hoc_symbol_limits(), hoc_symbol_units(), i, ion_cur(), ion_init(), memb_func, DoubScal::name, Symbol::name, nrn_exit(), nrn_get_mechtype(), nrn_writes_conc(), DoubScal::pdoub, Symbol::ppsym, register_mech(), s, Sprintf, Symbol::subtype, Symbol::type, Symbol::u, and VAL_SENTINAL.
Referenced by _hh_reg_(), KSChan::build(), ion_register(), KSChan::setligand(), and KSChan::settype().

| ion_register | ( | ) |
References Memb_func::alloc, buf, gargstr(), getarg(), hoc_lookup(), ion_reg(), memb_func, name, ret, s, Symbol::subtype, and Symbol::type.

| int nernst | ( | ) |
References chk_access(), chkarg(), e, exp, gargstr(), getarg(), global_charge, hoc_execerror(), hoc_is_str_arg(), hoc_lookup(), ifarg(), ktf, memb_func, nrn_nernst(), nrn_rangepointer(), Symbol::ppsym, ret, Symbol::rng, s, sec, Memb_func::sym, Symbol::u, and x.

| double nrn_ghk | ( | ) |
Referenced by KSPPIvghk::cur(), KSIvghk::cur(), ghk(), KSPPIvghk::jacob(), and KSIvghk::jacob().
| double nrn_ion_charge | ( | Symbol * | sym | ) |
References global_charge, and Symbol::subtype.
Referenced by nrn_wrote_conc(), and KSChan::setcond().
References memb_func.
Referenced by nrn_writes_conc().
| double nrn_nernst | ( | double | ci, | |
| double | co, | |||
| double | z | |||
| ) |
References ktf.
| double nrn_nernst | ( | ) |
Referenced by nernst(), and nrn_wrote_conc().
| Section* nrn_noerr_access | ( | ) |
References ForAllSections, Section::prop, and Section::refcount.
1.6.3