#include <ChanCommon.h>
Public Member Functions | |
ChanCommon () | |
~ChanCommon () | |
void | vSetGbar (const Eref &e, double Gbar) |
double | vGetGbar (const Eref &e) const |
void | vSetModulation (const Eref &e, double modulation) |
double | vGetModulation (const Eref &e) const |
double | getModulation () const |
void | vSetEk (const Eref &e, double Ek) |
double | vGetEk (const Eref &e) const |
void | vSetGk (const Eref &e, double Gk) |
double | vGetGk (const Eref &e) const |
void | vSetIk (const Eref &e, double Ic) |
double | vGetIk (const Eref &e) const |
void | vHandleVm (double Vm) |
void | sendProcessMsgs (const Eref &e, const ProcPtr info) |
void | sendReinitMsgs (const Eref &e, const ProcPtr info) |
void | updateIk () |
double | getVm () const |
Utility function to access Vm. | |
double | getGbar () const |
Utility function to acces Gbar. | |
Static Public Member Functions | |
static const Cinfo * | initCinfo () |
Specify the Class Info static variable for initialization. | |
Protected Attributes | |
double | Vm_ |
Vm_ is input variable from compartment, used for most rates. |
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.
ChanCommon::ChanCommon | ( | ) |
ChanCommon::~ChanCommon | ( | ) |
double ChanCommon::getGbar | ( | ) | const |
Utility function to acces Gbar.
Referenced by SynChan::normalizeGbar(), HHChannel2D::vProcess(), and HHChannel2D::vReinit().
double ChanCommon::getModulation | ( | ) | const |
Referenced by SynChan::calcGk().
double ChanCommon::getVm | ( | ) | const |
static const Cinfo* ChanCommon::initCinfo | ( | ) | [static] |
Specify the Class Info static variable for initialization.
Reimplemented from ChanBase.
Reimplemented in HHChannel, HHChannel2D, Leakage, MarkovChannel, MgBlock, NMDAChan, and SynChan.
This function sends out the messages expected of a channel, after process. Used as a utility by various derived classes.
References ChanBase::channelOut(), ChanBase::IkOut(), and ChanBase::permeability().
Referenced by SynChan::vProcess(), NMDAChan::vProcess(), MgBlock::vProcess(), MarkovChannel::vProcess(), Leakage::vProcess(), HHChannel2D::vProcess(), and HHChannel::vProcess().
References ChanBase::channelOut(), and ChanBase::permeability().
Referenced by SynChan::vReinit(), NMDAChan::vReinit(), MgBlock::vReinit(), MarkovChannel::vReinit(), Leakage::vReinit(), HHChannel2D::vReinit(), and HHChannel::vReinit().
void ChanCommon::updateIk | ( | ) |
Utility function for a common computation using local variables
References Vm_.
Referenced by SynChan::vProcess(), NMDAChan::vProcess(), MgBlock::vProcess(), MarkovChannel::vProcess(), HHChannel2D::vProcess(), HHChannel::vProcess(), HHChannel2D::vReinit(), and HHChannel::vReinit().
double ChanCommon::vGetGbar | ( | const Eref & | e | ) | const [virtual] |
Implements ChanBase.
Referenced by HHChannel::vProcess(), and HHChannel::vReinit().
double ChanCommon::vGetModulation | ( | const Eref & | e | ) | const [virtual] |
Implements ChanBase.
Reimplemented in HHChannel.
Referenced by HHChannel2D::vProcess(), and HHChannel2D::vReinit().
void ChanCommon::vHandleVm | ( | double | Vm | ) | [virtual] |
void ChanCommon::vSetGbar | ( | const Eref & | e, | |
double | Gbar | |||
) | [virtual] |
void ChanCommon::vSetGk | ( | const Eref & | e, | |
double | Gk | |||
) | [virtual] |
Implements ChanBase.
Referenced by HHChannel::vProcess(), and HHChannel::vReinit().
void ChanCommon::vSetIk | ( | const Eref & | e, | |
double | Ic | |||
) | [virtual] |
Ik is read-only for MOOSE, but we provide the set func for derived classes to update it.
Implements ChanBase.
void ChanCommon::vSetModulation | ( | const Eref & | e, | |
double | modulation | |||
) | [virtual] |
double ChanCommon::Vm_ [protected] |
Vm_ is input variable from compartment, used for most rates.
Referenced by MarkovChannel::getVm(), getVm(), MarkovChannel::setVm(), updateIk(), vHandleVm(), NMDAChan::vProcess(), MgBlock::vProcess(), HHChannel::vProcess(), and HHChannel::vReinit().