eion.c File Reference

#include <../../nrnconf.h>
#include <stdlib.h>
#include "section.h"
#include "neuron.h"
#include "membfunc.h"
#include "parse.h"
#include "membdef.h"
Include dependency graph for eion.c:

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 ()
Sectionnrn_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

Symlisthoc_symlist
Symlisthoc_built_in_symlist
Symlisthoc_top_level_symlist

Define Documentation

#define FARADAY   96485.309

Referenced by nrn_ghk().

#define global_charge ( type   )     ion_global_map[type][2]
#define global_conci ( type   )     ion_global_map[type][0]

Referenced by ion_reg().

#define global_conco ( type   )     ion_global_map[type][1]

Referenced by ion_reg().

#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().


Function Documentation

double chkarg (  ) 
int ghk (  ) 

References getarg(), nrn_ghk(), and ret.

Here is the call graph for this function:

ion_charge (  ) 

References Memb_func::alloc, gargstr(), global_charge, hoc_execerror(), hoc_lookup(), memb_func, ret, s, Symbol::subtype, and Symbol::type.

Here is the call graph for this function:

static ion_cur (  ) 

Referenced by ion_reg().

static ion_init (  ) 

Referenced by ion_reg().

ion_reg ( char *  name,
double  valence 
)
ion_register (  ) 

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

Here is the call graph for this function:

int nernst (  ) 
double nrn_ghk ( double  v,
double  ci,
double  co,
double  z 
)

References FARADAY, and ktf.

double nrn_ghk (  ) 
double nrn_ion_charge ( Symbol sym  ) 

References global_charge, and Symbol::subtype.

Referenced by nrn_wrote_conc(), and KSChan::setcond().

int nrn_is_ion ( int  type  ) 

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 (  ) 
nrn_wrote_conc ( Symbol sym,
double*  pe,
int  it 
)

References nrn_ion_charge(), and nrn_nernst().

Here is the call graph for this function:


Variable Documentation

Generated on Mon Jun 13 08:10:29 2011 for NEURON by  doxygen 1.6.3