MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <ChanCommon.h>
Public Member Functions | |
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 | vSetGbar (const Eref &e, double Gbar) |
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) |
virtual void | vProcess (const Eref &e, const ProcPtr info)=0 |
virtual void | vReinit (const Eref &e, const ProcPtr info)=0 |
~ChanBase () | |
Static Public Member Functions | |
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 () |
Protected Attributes | |
double | Vm_ |
Vm_ is input variable from compartment, used for most rates. More... | |
Private Attributes | |
double | Ek_ |
Reversal potential of channel. More... | |
double | Gbar_ |
Channel maximal conductance. More... | |
double | Gk_ |
Channel actual conductance depending on opening of gates. More... | |
double | Ik_ |
Channel current. More... | |
double | modulation_ |
Channel modulation. Scales conductance. More... | |
The ChanCommon.g handles the data fields for all ion channel classes in MOOSE, when they are using regular ee calculations rather than being zombified by the solver.
Definition at line 21 of file ChanCommon.h.
ChanCommon::ChanCommon | ( | ) |
Definition at line 17 of file ChanCommon.cpp.
ChanCommon::~ChanCommon | ( | ) |
Definition at line 27 of file ChanCommon.cpp.
double ChanCommon::getGbar | ( | ) | const |
Utility function to acces Gbar.
Definition at line 129 of file ChanCommon.cpp.
References Gbar_.
Referenced by SynChan::normalizeGbar().
double ChanCommon::getModulation | ( | ) | const |
Definition at line 54 of file ChanCommon.cpp.
References modulation_.
Referenced by SynChan::calcGk().
double ChanCommon::getVm | ( | ) | const |
Utility function to access Vm.
Definition at line 124 of file ChanCommon.cpp.
References Vm_.
|
static |
Specify the Class Info static variable for initialization.
This function sends out the messages expected of a channel, after process. Used as a utility by various derived classes.
Definition at line 100 of file ChanCommon.cpp.
References ChanBase::channelOut(), Ek_, Gk_, Ik_, ChanBase::IkOut(), and ChanBase::permeability().
Referenced by MgBlock::vProcess(), SynChan::vProcess(), Leakage::vProcess(), NMDAChan::vProcess(), MarkovChannel::vProcess(), HHChannel2D::vProcess(), and HHChannel::vProcess().
Definition at line 111 of file ChanCommon.cpp.
References ChanBase::channelOut(), Ek_, Gk_, Ik_, ChanBase::IkOut(), and ChanBase::permeability().
Referenced by SynChan::vReinit(), MgBlock::vReinit(), Leakage::vReinit(), NMDAChan::vReinit(), MarkovChannel::vReinit(), HHChannel2D::vReinit(), and HHChannel::vReinit().
void ChanCommon::updateIk | ( | ) |
Utility function for a common computation using local variables
Definition at line 119 of file ChanCommon.cpp.
References Ek_, Gk_, Ik_, and Vm_.
Referenced by MgBlock::vProcess(), SynChan::vProcess(), Leakage::vProcess(), NMDAChan::vProcess(), MarkovChannel::vProcess(), HHChannel2D::vProcess(), HHChannel::vProcess(), Leakage::vReinit(), HHChannel2D::vReinit(), and HHChannel::vReinit().
|
virtual |
|
virtual |
Implements ChanBase.
Definition at line 39 of file ChanCommon.cpp.
References Gbar_.
Referenced by Leakage::vProcess(), HHChannel::vProcess(), Leakage::vReinit(), and HHChannel::vReinit().
|
virtual |
Implements ChanBase.
Definition at line 72 of file ChanCommon.cpp.
References Gk_.
|
virtual |
|
virtual |
Implements ChanBase.
Reimplemented in HHChannel.
Definition at line 49 of file ChanCommon.cpp.
References modulation_.
Referenced by Leakage::vProcess(), HHChannel2D::vProcess(), Leakage::vReinit(), HHChannel2D::vReinit(), and Leakage::vSetGbar().
|
virtual |
Assign the local Vm_ to the incoming Vm from the compartment
Implements ChanBase.
Definition at line 90 of file ChanCommon.cpp.
References Vm_.
|
virtual |
|
virtual |
Implements ChanBase.
Reimplemented in Leakage, and SynChan.
Definition at line 34 of file ChanCommon.cpp.
References Gbar_.
Referenced by SynChan::vSetGbar(), and Leakage::vSetGbar().
|
virtual |
Implements ChanBase.
Definition at line 68 of file ChanCommon.cpp.
References Gk_.
Referenced by Leakage::vProcess(), HHChannel::vProcess(), Leakage::vReinit(), HHChannel::vReinit(), and Leakage::vSetGbar().
|
virtual |
Ik is read-only for MOOSE, but we provide the set func for derived classes to update it.
Implements ChanBase.
Definition at line 77 of file ChanCommon.cpp.
References Ik_.
|
virtual |
Implements ChanBase.
Reimplemented in HHChannel.
Definition at line 44 of file ChanCommon.cpp.
References modulation_.
|
private |
Reversal potential of channel.
Definition at line 88 of file ChanCommon.h.
Referenced by sendProcessMsgs(), sendReinitMsgs(), updateIk(), vGetEk(), and vSetEk().
|
private |
Channel maximal conductance.
Definition at line 84 of file ChanCommon.h.
Referenced by getGbar(), vGetGbar(), and vSetGbar().
|
private |
Channel actual conductance depending on opening of gates.
Definition at line 91 of file ChanCommon.h.
Referenced by sendProcessMsgs(), sendReinitMsgs(), updateIk(), vGetGk(), and vSetGk().
|
private |
Channel current.
Definition at line 93 of file ChanCommon.h.
Referenced by sendProcessMsgs(), sendReinitMsgs(), updateIk(), vGetIk(), and vSetIk().
|
private |
Channel modulation. Scales conductance.
Definition at line 86 of file ChanCommon.h.
Referenced by getModulation(), vGetModulation(), and vSetModulation().
|
protected |
Vm_ is input variable from compartment, used for most rates.
Definition at line 80 of file ChanCommon.h.
Referenced by HHChannel2D::depValue(), MarkovChannel::getVm(), getVm(), MarkovChannel::setVm(), updateIk(), vHandleVm(), MgBlock::vProcess(), NMDAChan::vProcess(), HHChannel::vProcess(), and HHChannel::vReinit().