MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <NMDAChan.h>
Public Member Functions | |
void | assignIntCa (double v) |
double | getCMg () const |
double | getCondFraction () const |
double | getExtCa () const |
Set external conc. More... | |
double | getICa () const |
double | getIntCa () const |
Set external conc. More... | |
double | getIntCaOffset () const |
double | getIntCaScale () const |
double | getKMg_A () const |
double | getKMg_B () const |
double | getPermeability () const |
double | getTemperature () const |
NMDAChan () | |
void | setCMg (double CMg) |
void | setCondFraction (double v) |
void | setExtCa (double conc) |
void | setIntCa (double conc) |
void | setIntCaOffset (double v) |
void | setIntCaScale (double v) |
void | setKMg_A (double Gbar) |
void | setKMg_B (double Ek) |
void | setPermeability (double permeability) |
void | setTemperature (double temperature) |
void | vProcess (const Eref &e, ProcPtr p) |
void | vReinit (const Eref &e, ProcPtr p) |
~NMDAChan () | |
![]() | |
void | activation (double val) |
double | calcGk () |
Update alpha function terms for synaptic channel. More... | |
bool | getNormalizeWeights () const |
double | getTau1 () const |
double | getTau2 () const |
void | normalizeGbar () |
void | setNormalizeWeights (bool value) |
void | setTau1 (double tau1) |
void | setTau2 (double tau2) |
SynChan () | |
void | vProcess (const Eref &e, ProcPtr p) |
void | vReinit (const Eref &e, ProcPtr p) |
void | vSetGbar (const Eref &e, double Gbar) |
~SynChan () | |
![]() | |
ChanCommon () | |
double | getGbar () const |
Utility function to acces Gbar. More... | |
double | getModulation () const |
double | getVm () const |
Utility function to access Vm. More... | |
void | sendProcessMsgs (const Eref &e, const ProcPtr info) |
void | sendReinitMsgs (const Eref &e, const ProcPtr info) |
void | updateIk () |
double | vGetEk (const Eref &e) const |
double | vGetGbar (const Eref &e) const |
double | vGetGk (const Eref &e) const |
double | vGetIk (const Eref &e) const |
double | vGetModulation (const Eref &e) const |
void | vHandleVm (double Vm) |
void | vSetEk (const Eref &e, double Ek) |
void | vSetGk (const Eref &e, double Gk) |
void | vSetIk (const Eref &e, double Ic) |
void | vSetModulation (const Eref &e, double modulation) |
~ChanCommon () | |
![]() | |
ChanBase () | |
double | getEk (const Eref &e) const |
double | getGbar (const Eref &e) const |
double | getGk (const Eref &e) const |
double | getIk (const Eref &e) const |
double | getModulation (const Eref &e) const |
void | handleVm (double Vm) |
void | process (const Eref &e, const ProcPtr info) |
void | reinit (const Eref &e, const ProcPtr info) |
void | setEk (const Eref &e, double Ek) |
void | setGbar (const Eref &e, double Gbar) |
void | setGk (const Eref &e, double Gk) |
void | setIk (const Eref &e, double Ic) |
void | setModulation (const Eref &e, double modulation) |
~ChanBase () | |
Static Public Member Functions | |
static const Cinfo * | initCinfo () |
![]() | |
static const Cinfo * | initCinfo () |
![]() | |
static const Cinfo * | initCinfo () |
Specify the Class Info static variable for initialization. More... | |
![]() | |
static SrcFinfo2< double, double > * | channelOut () |
static SrcFinfo1< double > * | IkOut () |
static const Cinfo * | initCinfo () |
Specify the Class Info static variable for initialization. More... | |
static SrcFinfo1< double > * | permeability () |
Private Attributes | |
double | Cin_ |
double | CMg_ |
[Mg] in mM More... | |
double | condFraction_ |
double | const_ |
double | Cout_ |
double | ICa_ |
double | intCaOffset_ |
double | intCaScale_ |
double | KMg_A_ |
1/eta More... | |
double | KMg_B_ |
1/gamma More... | |
double | temperature_ |
Static Private Attributes | |
static const double | valency_ = 2.0 |
Additional Inherited Members | |
![]() | |
double | activation_ |
double | dt_ |
double | norm_ |
int | normalizeWeights_ |
double | tau1_ |
double | tau2_ |
double | X_ |
double | xconst1_ |
double | xconst2_ |
double | Y_ |
double | yconst1_ |
double | yconst2_ |
![]() | |
double | Vm_ |
Vm_ is input variable from compartment, used for most rates. More... | |
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.
Definition at line 21 of file NMDAChan.h.
NMDAChan::NMDAChan | ( | ) |
Definition at line 168 of file NMDAChan.cpp.
NMDAChan::~NMDAChan | ( | ) |
Definition at line 183 of file NMDAChan.cpp.
void NMDAChan::assignIntCa | ( | double | v | ) |
Definition at line 306 of file NMDAChan.cpp.
References Cin_, intCaOffset_, and intCaScale_.
Referenced by initCinfo().
double NMDAChan::getCMg | ( | ) | const |
Definition at line 222 of file NMDAChan.cpp.
References CMg_.
Referenced by initCinfo().
double NMDAChan::getCondFraction | ( | ) | const |
Definition at line 279 of file NMDAChan.cpp.
References condFraction_.
Referenced by initCinfo().
double NMDAChan::getExtCa | ( | ) | const |
Set external conc.
Definition at line 235 of file NMDAChan.cpp.
References Cout_.
Referenced by initCinfo().
double NMDAChan::getICa | ( | ) | const |
Definition at line 284 of file NMDAChan.cpp.
References ICa_.
Referenced by initCinfo().
double NMDAChan::getIntCa | ( | ) | const |
Set external conc.
Definition at line 249 of file NMDAChan.cpp.
References Cin_.
Referenced by initCinfo().
double NMDAChan::getIntCaOffset | ( | ) | const |
Definition at line 269 of file NMDAChan.cpp.
References intCaOffset_.
Referenced by initCinfo().
double NMDAChan::getIntCaScale | ( | ) | const |
Definition at line 259 of file NMDAChan.cpp.
References intCaScale_.
Referenced by initCinfo().
double NMDAChan::getKMg_A | ( | ) | const |
Definition at line 198 of file NMDAChan.cpp.
References KMg_A_.
Referenced by initCinfo().
double NMDAChan::getKMg_B | ( | ) | const |
Definition at line 210 of file NMDAChan.cpp.
References KMg_B_.
Referenced by initCinfo().
double NMDAChan::getPermeability | ( | ) | const |
double NMDAChan::getTemperature | ( | ) | const |
Definition at line 289 of file NMDAChan.cpp.
References temperature_.
Referenced by initCinfo().
|
static |
Definition at line 27 of file NMDAChan.cpp.
References assignIntCa(), getCMg(), getCondFraction(), getExtCa(), ChanBase::getGbar(), getICa(), getIntCa(), getIntCaOffset(), getIntCaScale(), getKMg_A(), getKMg_B(), getTemperature(), ICaOut(), SynChan::initCinfo(), NMDAChanCinfo, ChanBase::permeability(), setCMg(), setCondFraction(), setExtCa(), ChanBase::setGbar(), setIntCa(), setIntCaOffset(), setIntCaScale(), setKMg_A(), setKMg_B(), and setTemperature().
void NMDAChan::setCMg | ( | double | CMg | ) |
Definition at line 214 of file NMDAChan.cpp.
Referenced by initCinfo().
void NMDAChan::setCondFraction | ( | double | v | ) |
Definition at line 274 of file NMDAChan.cpp.
References condFraction_.
Referenced by initCinfo().
void NMDAChan::setExtCa | ( | double | conc | ) |
Definition at line 227 of file NMDAChan.cpp.
References Cout_, and EPSILON.
Referenced by initCinfo().
void NMDAChan::setIntCa | ( | double | conc | ) |
Definition at line 240 of file NMDAChan.cpp.
References Cin_.
Referenced by initCinfo().
void NMDAChan::setIntCaOffset | ( | double | v | ) |
Definition at line 264 of file NMDAChan.cpp.
References intCaOffset_.
Referenced by initCinfo().
void NMDAChan::setIntCaScale | ( | double | v | ) |
Definition at line 254 of file NMDAChan.cpp.
References intCaScale_.
Referenced by initCinfo().
void NMDAChan::setKMg_A | ( | double | Gbar | ) |
Definition at line 190 of file NMDAChan.cpp.
References EPSILON, and KMg_A_.
Referenced by initCinfo().
void NMDAChan::setKMg_B | ( | double | Ek | ) |
Definition at line 202 of file NMDAChan.cpp.
References EPSILON, and KMg_B_.
Referenced by initCinfo().
void NMDAChan::setPermeability | ( | double | permeability | ) |
void NMDAChan::setTemperature | ( | double | temperature | ) |
Definition at line 293 of file NMDAChan.cpp.
References const_, EPSILON, FaradayConst, GasConst, temperature_, and valency_.
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.
Implements ChanBase.
Definition at line 330 of file NMDAChan.cpp.
References SynChan::calcGk(), Cin_, CMg_, condFraction_, const_, Cout_, ICa_, ICaOut(), KMg_A_, KMg_B_, moose::log(), ChanCommon::sendProcessMsgs(), ChanBase::setGk(), ChanCommon::updateIk(), and ChanCommon::Vm_.
Implements ChanBase.
Definition at line 449 of file NMDAChan.cpp.
References CMg_, EPSILON, ICaOut(), KMg_A_, KMg_B_, ChanCommon::sendReinitMsgs(), and SynChan::vReinit().
|
private |
Definition at line 79 of file NMDAChan.h.
Referenced by assignIntCa(), getIntCa(), setIntCa(), and vProcess().
|
private |
[Mg] in mM
Definition at line 72 of file NMDAChan.h.
Referenced by getCMg(), setCMg(), vProcess(), and vReinit().
|
private |
Definition at line 82 of file NMDAChan.h.
Referenced by getCondFraction(), setCondFraction(), and vProcess().
|
private |
Definition at line 84 of file NMDAChan.h.
Referenced by setTemperature(), and vProcess().
|
private |
Definition at line 78 of file NMDAChan.h.
Referenced by getExtCa(), setExtCa(), and vProcess().
|
private |
Definition at line 83 of file NMDAChan.h.
Referenced by getICa(), and vProcess().
|
private |
Definition at line 81 of file NMDAChan.h.
Referenced by assignIntCa(), getIntCaOffset(), and setIntCaOffset().
|
private |
Definition at line 80 of file NMDAChan.h.
Referenced by assignIntCa(), getIntCaScale(), and setIntCaScale().
|
private |
1/eta
Definition at line 68 of file NMDAChan.h.
Referenced by getKMg_A(), setKMg_A(), vProcess(), and vReinit().
|
private |
1/gamma
Definition at line 70 of file NMDAChan.h.
Referenced by getKMg_B(), setKMg_B(), vProcess(), and vReinit().
|
private |
Original Gk passed by NMDA channel, we keep this separate from Gk so that the computed Gk can be recorded without being overwritten by origChannel message.
Definition at line 77 of file NMDAChan.h.
Referenced by getTemperature(), and setTemperature().
|
staticprivate |
Definition at line 87 of file NMDAChan.h.
Referenced by setTemperature().