#include <NMDAChan.h>
Public Member Functions | |
NMDAChan () | |
~NMDAChan () | |
void | setKMg_A (double Gbar) |
double | getKMg_A () const |
void | setKMg_B (double Ek) |
double | getKMg_B () const |
void | setCMg (double CMg) |
double | getCMg () const |
void | setTemperature (double temperature) |
double | getTemperature () const |
void | setExtCa (double conc) |
double | getExtCa () const |
Set external conc. | |
void | setIntCa (double conc) |
double | getIntCa () const |
Set external conc. | |
double | getICa () const |
void | setPermeability (double permeability) |
double | getPermeability () const |
void | setIntCaScale (double v) |
double | getIntCaScale () const |
void | setIntCaOffset (double v) |
double | getIntCaOffset () const |
void | setCondFraction (double v) |
double | getCondFraction () const |
void | vProcess (const Eref &e, ProcPtr p) |
void | vReinit (const Eref &e, ProcPtr p) |
void | assignIntCa (double v) |
Static Public Member Functions | |
static const Cinfo * | initCinfo () |
The NMDAChan incorporates calculations for Mg block, Nernst potential and/or GHK estimates for the fraction of current carried by Ca. These can also be done by messaging but it is messy and slow, so I've lumped them. Also I've assumed that we're only dealing with the GHK equation for Ca. This is not so good considering that other ions also go through the channel.
NMDAChan::NMDAChan | ( | ) |
NMDAChan::~NMDAChan | ( | ) |
void NMDAChan::assignIntCa | ( | double | v | ) |
Referenced by initCinfo().
double NMDAChan::getCMg | ( | ) | const |
Referenced by initCinfo().
double NMDAChan::getCondFraction | ( | ) | const |
Referenced by initCinfo().
double NMDAChan::getExtCa | ( | ) | const |
Set external conc.
Referenced by initCinfo().
double NMDAChan::getICa | ( | ) | const |
Referenced by initCinfo().
double NMDAChan::getIntCa | ( | ) | const |
Set external conc.
Referenced by initCinfo().
double NMDAChan::getIntCaOffset | ( | ) | const |
Referenced by initCinfo().
double NMDAChan::getIntCaScale | ( | ) | const |
Referenced by initCinfo().
double NMDAChan::getKMg_A | ( | ) | const |
Referenced by initCinfo().
double NMDAChan::getKMg_B | ( | ) | const |
Referenced by initCinfo().
double NMDAChan::getPermeability | ( | ) | const |
double NMDAChan::getTemperature | ( | ) | const |
Referenced by initCinfo().
const Cinfo * NMDAChan::initCinfo | ( | ) | [static] |
Override base class function for spike handling
Reimplemented from SynChan.
References assignIntCa(), getCMg(), getCondFraction(), getExtCa(), ChanBase::getGbar(), getICa(), getIntCa(), getIntCaOffset(), getIntCaScale(), getKMg_A(), getKMg_B(), getTemperature(), ICaOut(), SynChan::initCinfo(), ChanBase::permeability(), setCMg(), setCondFraction(), setExtCa(), ChanBase::setGbar(), setIntCa(), setIntCaOffset(), setIntCaScale(), setKMg_A(), setKMg_B(), and setTemperature().
void NMDAChan::setCMg | ( | double | CMg | ) |
References EPSILON.
Referenced by initCinfo().
void NMDAChan::setCondFraction | ( | double | v | ) |
Referenced by initCinfo().
void NMDAChan::setExtCa | ( | double | conc | ) |
References EPSILON.
Referenced by initCinfo().
void NMDAChan::setIntCa | ( | double | conc | ) |
Referenced by initCinfo().
void NMDAChan::setIntCaOffset | ( | double | v | ) |
Referenced by initCinfo().
void NMDAChan::setIntCaScale | ( | double | v | ) |
Referenced by initCinfo().
void NMDAChan::setKMg_A | ( | double | Gbar | ) |
References EPSILON.
Referenced by initCinfo().
void NMDAChan::setKMg_B | ( | double | Ek | ) |
References EPSILON.
Referenced by initCinfo().
void NMDAChan::setPermeability | ( | double | permeability | ) |
void NMDAChan::setTemperature | ( | double | temperature | ) |
References EPSILON, FaradayConst, and GasConst.
Referenced by initCinfo().
Note the implicit mapping between permeability and conductance. From the GENESIS source code: A thought about the units, by EDS 6/95 (based on Hille 92): Units: p in M/s EF/RT and z are dimensionless F in C/mol Cin and Cout in mM==mol/m^3 Then Ik is really in units of C/s/m^2==A/m^2, so we compute a current density. As we replace in practice p by Gbar, which has already been scaled for surface, we get rid of the density factor.
Reimplemented from SynChan.
References SynChan::calcGk(), ICaOut(), ChanCommon::sendProcessMsgs(), ChanBase::setGk(), ChanCommon::updateIk(), and ChanCommon::Vm_.
Reimplemented from SynChan.
References EPSILON, ICaOut(), and ChanCommon::sendReinitMsgs().