MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <IntFireBase.h>
Public Member Functions | |
void | activation (double val) |
double | getLastEventTime (const Eref &e) const |
double | getRefractoryPeriod (const Eref &e) const |
double | getThresh (const Eref &e) const |
double | getVReset (const Eref &e) const |
bool | hasFired (const Eref &e) const |
IntFireBase () | |
void | setRefractoryPeriod (const Eref &e, double val) |
void | setThresh (const Eref &e, double val) |
void | setVReset (const Eref &e, double val) |
virtual void | vProcess (const Eref &e, ProcPtr p)=0 |
virtual void | vReinit (const Eref &e, ProcPtr p)=0 |
virtual | ~IntFireBase () |
![]() | |
void | cable () |
Compartment () | |
virtual double | vGetCm (const Eref &e) const |
virtual double | vGetEm (const Eref &e) const |
virtual double | vGetIm (const Eref &e) const |
virtual double | vGetInitVm (const Eref &e) const |
virtual double | vGetInject (const Eref &e) const |
virtual double | vGetRa (const Eref &e) const |
virtual double | vGetRm (const Eref &e) const |
virtual double | vGetVm (const Eref &e) const |
void | vHandleAxial (double Vm) |
void | vHandleChannel (const Eref &e, double Gk, double Ek) |
void | vHandleRaxial (double Ra, double Vm) |
void | vInitProc (const Eref &e, ProcPtr p) |
void | vInitReinit (const Eref &e, ProcPtr p) |
void | vInjectMsg (const Eref &e, double current) |
void | vRandInject (const Eref &e, double prob, double current) |
virtual void | vSetCm (const Eref &e, double Cm) |
virtual void | vSetEm (const Eref &e, double Em) |
virtual void | vSetInitVm (const Eref &e, double initVm) |
virtual void | vSetInject (const Eref &e, double Inject) |
virtual void | vSetRa (const Eref &e, double Ra) |
virtual void | vSetRm (const Eref &e, double Rm) |
virtual void | vSetVm (const Eref &e, double Vm) |
virtual | ~Compartment () |
![]() | |
void | cable () |
CompartmentBase () | |
void | displace (double dx, double dy, double dz) |
Displaces compartment by specified distance vector. More... | |
double | getCm (const Eref &e) const |
double | getDiameter () const |
double | getEm (const Eref &e) const |
double | getIm (const Eref &e) const |
double | getInitVm (const Eref &e) const |
double | getInject (const Eref &e) const |
double | getLength () const |
double | getRa (const Eref &e) const |
double | getRm (const Eref &e) const |
double | getVm (const Eref &e) const |
double | getX () const |
double | getX0 () const |
double | getY () const |
double | getY0 () const |
double | getZ () const |
double | getZ0 () const |
void | handleAxial (double Vm) |
void | handleChannel (const Eref &e, double Gk, double Ek) |
void | handleRaxial (double Ra, double Vm) |
void | initProc (const Eref &e, ProcPtr p) |
void | initReinit (const Eref &e, ProcPtr p) |
void | injectMsg (const Eref &e, double current) |
void | process (const Eref &e, ProcPtr p) |
void | randInject (const Eref &e, double prob, double current) |
bool | rangeWarning (const string &field, double value) |
void | reinit (const Eref &e, ProcPtr p) |
void | setCm (const Eref &e, double Cm) |
void | setDiameter (double diameter) |
void | setEm (const Eref &e, double Em) |
void | setGeomAndElec (const Eref &e, double length, double dia) |
Scales electrical values along with setting length, dia. More... | |
void | setInitVm (const Eref &e, double initVm) |
void | setInject (const Eref &e, double Inject) |
void | setLength (double length) |
void | setRa (const Eref &e, double Ra) |
void | setRm (const Eref &e, double Rm) |
void | setVm (const Eref &e, double Vm) |
void | setX (double value) |
void | setX0 (double value) |
void | setY (double value) |
void | setY0 (double value) |
void | setZ (double value) |
void | setZ0 (double value) |
void | updateLength () |
virtual void | vSetSolver (const Eref &e, Id hsolve) |
virtual | ~CompartmentBase () |
Static Public Member Functions | |
static const Cinfo * | initCinfo () |
static SrcFinfo1< double > * | spikeOut () |
Message src for outgoing spikes. More... | |
![]() | |
static const Cinfo * | initCinfo () |
![]() | |
static const Cinfo * | initCinfo () |
static SrcFinfo1< double > * | VmOut () |
static void | zombify (Element *orig, const Cinfo *zClass, Id hsolve) |
Protected Attributes | |
double | activation_ |
bool | fired_ |
double | lastEvent_ |
double | refractT_ |
double | threshold_ |
double | vReset_ |
![]() | |
double | A_ |
double | B_ |
double | Cm_ |
double | Em_ |
double | Im_ |
double | initVm_ |
double | inject_ |
double | lastIm_ |
double | Ra_ |
double | Rm_ |
double | sumInject_ |
double | Vm_ |
The IntFire class sets up an integrate-and-fire compartment.
Definition at line 19 of file IntFireBase.h.
IntFireBase::IntFireBase | ( | ) |
Definition at line 111 of file IntFireBase.cpp.
|
virtual |
Definition at line 121 of file IntFireBase.cpp.
void IntFireBase::activation | ( | double | val | ) |
activation handles information coming from the SynHandler to the intFire.
Definition at line 171 of file IntFireBase.cpp.
References activation_.
Referenced by initCinfo().
double IntFireBase::getLastEventTime | ( | const Eref & | e | ) | const |
Definition at line 157 of file IntFireBase.cpp.
References lastEvent_.
Referenced by initCinfo().
double IntFireBase::getRefractoryPeriod | ( | const Eref & | e | ) | const |
Definition at line 152 of file IntFireBase.cpp.
References refractT_.
Referenced by initCinfo().
double IntFireBase::getThresh | ( | const Eref & | e | ) | const |
Definition at line 132 of file IntFireBase.cpp.
References threshold_.
Referenced by initCinfo().
double IntFireBase::getVReset | ( | const Eref & | e | ) | const |
Definition at line 142 of file IntFireBase.cpp.
References vReset_.
Referenced by initCinfo().
bool IntFireBase::hasFired | ( | const Eref & | e | ) | const |
Definition at line 162 of file IntFireBase.cpp.
References fired_.
Referenced by initCinfo().
|
static |
Initializes the class info.
Definition at line 27 of file IntFireBase.cpp.
References activation(), getLastEventTime(), getRefractoryPeriod(), getThresh(), getVReset(), hasFired(), moose::Compartment::initCinfo(), intFireBaseCinfo, setRefractoryPeriod(), setThresh(), setVReset(), and spikeOut().
Referenced by moose::LIF::initCinfo(), moose::ExIF::initCinfo(), moose::QIF::initCinfo(), moose::AdThreshIF::initCinfo(), and moose::IzhIF::initCinfo().
void IntFireBase::setRefractoryPeriod | ( | const Eref & | e, |
double | val | ||
) |
Definition at line 147 of file IntFireBase.cpp.
References refractT_.
Referenced by initCinfo().
void IntFireBase::setThresh | ( | const Eref & | e, |
double | val | ||
) |
Definition at line 127 of file IntFireBase.cpp.
References threshold_.
Referenced by initCinfo().
void IntFireBase::setVReset | ( | const Eref & | e, |
double | val | ||
) |
Definition at line 137 of file IntFireBase.cpp.
References vReset_.
Referenced by initCinfo().
|
static |
Message src for outgoing spikes.
Definition at line 17 of file IntFireBase.cpp.
Referenced by initCinfo(), moose::LIF::vProcess(), moose::ExIF::vProcess(), moose::QIF::vProcess(), moose::AdThreshIF::vProcess(), moose::AdExIF::vProcess(), and moose::IzhIF::vProcess().
The process function does the object updating and sends out messages to channels, nernsts, and so on.
Reimplemented from moose::Compartment.
Implemented in moose::IzhIF, moose::AdExIF, moose::AdThreshIF, moose::QIF, moose::ExIF, and moose::LIF.
The reinit function reinitializes all fields.
Reimplemented from moose::Compartment.
Implemented in moose::IzhIF, moose::AdExIF, moose::AdThreshIF, moose::QIF, moose::ExIF, and moose::LIF.
|
protected |
Definition at line 63 of file IntFireBase.h.
Referenced by activation(), moose::LIF::vProcess(), moose::ExIF::vProcess(), moose::QIF::vProcess(), moose::AdExIF::vProcess(), moose::AdThreshIF::vProcess(), moose::IzhIF::vProcess(), moose::LIF::vReinit(), moose::ExIF::vReinit(), moose::QIF::vReinit(), moose::AdExIF::vReinit(), moose::AdThreshIF::vReinit(), and moose::IzhIF::vReinit().
|
protected |
Definition at line 66 of file IntFireBase.h.
Referenced by hasFired(), moose::LIF::vProcess(), moose::ExIF::vProcess(), moose::QIF::vProcess(), moose::AdExIF::vProcess(), moose::AdThreshIF::vProcess(), moose::IzhIF::vProcess(), moose::LIF::vReinit(), moose::ExIF::vReinit(), moose::QIF::vReinit(), moose::AdExIF::vReinit(), moose::AdThreshIF::vReinit(), and moose::IzhIF::vReinit().
|
protected |
Definition at line 65 of file IntFireBase.h.
Referenced by getLastEventTime(), moose::LIF::vProcess(), moose::ExIF::vProcess(), moose::QIF::vProcess(), moose::AdExIF::vProcess(), moose::AdThreshIF::vProcess(), moose::IzhIF::vProcess(), moose::LIF::vReinit(), moose::ExIF::vReinit(), moose::QIF::vReinit(), moose::AdExIF::vReinit(), moose::AdThreshIF::vReinit(), and moose::IzhIF::vReinit().
|
protected |
Definition at line 64 of file IntFireBase.h.
Referenced by getRefractoryPeriod(), setRefractoryPeriod(), moose::LIF::vProcess(), moose::ExIF::vProcess(), moose::QIF::vProcess(), moose::AdExIF::vProcess(), moose::AdThreshIF::vProcess(), moose::IzhIF::vProcess(), moose::LIF::vReinit(), moose::ExIF::vReinit(), moose::QIF::vReinit(), moose::AdThreshIF::vReinit(), moose::AdExIF::vReinit(), and moose::IzhIF::vReinit().
|
protected |
Definition at line 61 of file IntFireBase.h.
Referenced by getThresh(), setThresh(), moose::LIF::vProcess(), moose::ExIF::vProcess(), moose::QIF::vProcess(), moose::AdExIF::vProcess(), and moose::AdThreshIF::vProcess().
|
protected |
Definition at line 62 of file IntFireBase.h.
Referenced by getVReset(), setVReset(), moose::LIF::vProcess(), moose::ExIF::vProcess(), moose::QIF::vProcess(), moose::AdThreshIF::vProcess(), moose::AdExIF::vProcess(), and moose::IzhIF::vProcess().