#include <ZombieHHChannel.h>
Public Member Functions | |
ZombieHHChannel () | |
void | vSetGbar (const Eref &e, double Gbar) |
double | vGetGbar (const Eref &e) const |
void | vSetGk (const Eref &e, double Gk) |
double | vGetGk (const Eref &e) const |
void | vSetEk (const Eref &e, double Ek) |
double | vGetEk (const Eref &e) const |
void | vSetIk (const Eref &e, double Ik) |
double | vGetIk (const Eref &e) const |
void | vSetXpower (const Eref &e, double Xpower) |
void | vSetYpower (const Eref &e, double Ypower) |
void | vSetZpower (const Eref &e, double Zpower) |
void | vSetInstant (const Eref &e, int instant) |
int | vGetInstant (const Eref &e) const |
void | vSetX (const Eref &e, double X) |
double | vGetX (const Eref &e) const |
void | vSetY (const Eref &e, double Y) |
double | vGetY (const Eref &e) const |
void | vSetZ (const Eref &e, double Z) |
double | vGetZ (const Eref &e) const |
void | vSetUseConcentration (const Eref &e, int value) |
void | vSetModulation (const Eref &e, double value) |
void | vProcess (const Eref &e, ProcPtr p) |
void | vReinit (const Eref &e, ProcPtr p) |
void | vHandleConc (const Eref &e, double value) |
void | vCreateGate (const Eref &e, string name) |
void | vHandleVm (double Vm) |
HHGate * | vGetXgate (unsigned int i) const |
HHGate * | vGetYgate (unsigned int i) const |
HHGate * | vGetZgate (unsigned int i) const |
void | vSetSolver (const Eref &e, Id hsolve) |
Static Public Member Functions | |
static const Cinfo * | initCinfo () |
Zombie object that lets HSolve do its calculations, while letting the user interact with this object as if it were the original object.
ZombieHHChannel derives directly from Neutral, unlike the regular HHChannel which derives from ChanBase. ChanBase handles fields like Gbar, Gk, Ek, Ik, which are common to HHChannel, SynChan, etc. On the other hand, these fields are stored separately for HHChannel and SynChan in the HSolver. Hence we cannot have a ZombieChanBase which does, for example: hsolve_->setGk( id, Gk ); Instead we must have ZombieHHChannel and ZombieSynChan which do: hsolve_->setHHChannelGk( id, Gk ); and: hsolve_->setSynChanGk( id, Gk ); respectively.
ZombieHHChannel::ZombieHHChannel | ( | ) |
const Cinfo * ZombieHHChannel::initCinfo | ( | ) | [static] |
Specify the Class Info static variable for initialization.
ChannelOut SrcFinfo defined above.
Permability SrcFinfo defined above.
Reimplemented from HHChannelBase.
References HHChannelBase::initCinfo().
void ZombieHHChannel::vCreateGate | ( | const Eref & | e, | |
string | name | |||
) |
double ZombieHHChannel::vGetEk | ( | const Eref & | e | ) | const [virtual] |
Implements ChanBase.
References HSolve::getEk(), and Eref::id().
double ZombieHHChannel::vGetGbar | ( | const Eref & | e | ) | const [virtual] |
Implements ChanBase.
References HSolve::getHHChannelGbar(), and Eref::id().
double ZombieHHChannel::vGetGk | ( | const Eref & | e | ) | const [virtual] |
Implements ChanBase.
References HSolve::getGk(), and Eref::id().
double ZombieHHChannel::vGetIk | ( | const Eref & | e | ) | const [virtual] |
Implements ChanBase.
References HSolve::getIk(), and Eref::id().
int ZombieHHChannel::vGetInstant | ( | const Eref & | e | ) | const [virtual] |
Implements HHChannelBase.
References HSolve::getInstant(), and Eref::id().
double ZombieHHChannel::vGetX | ( | const Eref & | e | ) | const [virtual] |
Implements HHChannelBase.
References HSolve::getX(), and Eref::id().
HHGate * ZombieHHChannel::vGetXgate | ( | unsigned int | i | ) | const [virtual] |
Access function used for the X gate. The index is ignored.
Implements HHChannelBase.
double ZombieHHChannel::vGetY | ( | const Eref & | e | ) | const [virtual] |
Implements HHChannelBase.
References HSolve::getY(), and Eref::id().
HHGate * ZombieHHChannel::vGetYgate | ( | unsigned int | i | ) | const [virtual] |
Access function used for the Y gate. The index is ignored.
Implements HHChannelBase.
double ZombieHHChannel::vGetZ | ( | const Eref & | e | ) | const [virtual] |
Implements HHChannelBase.
References HSolve::getZ(), and Eref::id().
HHGate * ZombieHHChannel::vGetZgate | ( | unsigned int | i | ) | const [virtual] |
Access function used for the Z gate. The index is ignored.
Implements HHChannelBase.
void ZombieHHChannel::vHandleConc | ( | const Eref & | e, | |
double | value | |||
) | [virtual] |
Implements HHChannelBase.
void ZombieHHChannel::vHandleVm | ( | double | Vm | ) | [virtual] |
Implements ChanBase.
void ZombieHHChannel::vSetEk | ( | const Eref & | e, | |
double | Ek | |||
) | [virtual] |
Implements ChanBase.
References Eref::id(), and HSolve::setEk().
void ZombieHHChannel::vSetGbar | ( | const Eref & | e, | |
double | Gbar | |||
) | [virtual] |
Implements ChanBase.
References Eref::id(), and HSolve::setHHChannelGbar().
void ZombieHHChannel::vSetGk | ( | const Eref & | e, | |
double | Gk | |||
) | [virtual] |
Implements ChanBase.
References Eref::id(), and HSolve::setGk().
void ZombieHHChannel::vSetInstant | ( | const Eref & | e, | |
int | instant | |||
) | [virtual] |
Implements HHChannelBase.
References Eref::id(), and HSolve::setInstant().
void ZombieHHChannel::vSetModulation | ( | const Eref & | e, | |
double | value | |||
) | [virtual] |
Implements ChanBase.
References Eref::id(), HHChannelBase::modulation_, and HSolve::setHHmodulation().
Reimplemented from HHChannelBase.
References Element::cinfo(), Eref::data(), Id::element(), Id::eref(), Cinfo::isA(), and Id::path().
void ZombieHHChannel::vSetUseConcentration | ( | const Eref & | e, | |
int | value | |||
) | [virtual] |
Not trivial to change Ca-dependence once HSolve has been set up, and unlikely that one would want to change this field after setup, so keeping this field read-only.
Implements HHChannelBase.
void ZombieHHChannel::vSetX | ( | const Eref & | e, | |
double | X | |||
) | [virtual] |
Implements HHChannelBase.
References Eref::id(), and HSolve::setX().
void ZombieHHChannel::vSetXpower | ( | const Eref & | e, | |
double | Xpower | |||
) | [virtual] |
Implements HHChannelBase.
References Eref::id(), HSolve::setPowers(), HHChannelBase::Xpower_, HHChannelBase::Ypower_, and HHChannelBase::Zpower_.
void ZombieHHChannel::vSetY | ( | const Eref & | e, | |
double | Y | |||
) | [virtual] |
Implements HHChannelBase.
References Eref::id(), and HSolve::setY().
void ZombieHHChannel::vSetYpower | ( | const Eref & | e, | |
double | Ypower | |||
) | [virtual] |
Implements HHChannelBase.
References Eref::id(), HSolve::setPowers(), HHChannelBase::Xpower_, HHChannelBase::Ypower_, and HHChannelBase::Zpower_.
void ZombieHHChannel::vSetZ | ( | const Eref & | e, | |
double | Z | |||
) | [virtual] |
Implements HHChannelBase.
References Eref::id(), and HSolve::setZ().
void ZombieHHChannel::vSetZpower | ( | const Eref & | e, | |
double | Zpower | |||
) | [virtual] |
Implements HHChannelBase.
References Eref::id(), HSolve::setPowers(), HHChannelBase::Xpower_, HHChannelBase::Ypower_, and HHChannelBase::Zpower_.