MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <CaConcBase.h>
Public Member Functions | |
CaConcBase () | |
void | current (const Eref &e, double I) |
void | currentFraction (const Eref &e, double I, double fraction) |
void | decrease (const Eref &e, double I) |
double | getB (const Eref &e) const |
double | getCa (const Eref &e) const |
double | getCaBasal (const Eref &e) const |
double | getCeiling (const Eref &e) const |
double | getDiameter (const Eref &e) const |
double | getFloor (const Eref &e) const |
double | getLength (const Eref &e) const |
double | getTau (const Eref &e) const |
double | getThickness (const Eref &e) const |
void | increase (const Eref &e, double I) |
void | process (const Eref &, ProcPtr info) |
void | reinit (const Eref &, ProcPtr info) |
void | setB (const Eref &e, double val) |
void | setCa (const Eref &e, double val) |
void | setCaBasal (const Eref &e, double val) |
void | setCeiling (const Eref &e, double val) |
void | setDiameter (const Eref &e, double val) |
void | setFloor (const Eref &e, double val) |
void | setLength (const Eref &e, double val) |
void | setTau (const Eref &e, double val) |
void | setThickness (const Eref &e, double val) |
void | updateDimensions (const Eref &e) |
virtual void | vCurrent (const Eref &e, double I)=0 |
virtual void | vCurrentFraction (const Eref &e, double I, double fraction)=0 |
virtual void | vDecrease (const Eref &e, double I)=0 |
virtual double | vGetB (const Eref &e) const =0 |
virtual double | vGetCa (const Eref &e) const =0 |
virtual double | vGetCaBasal (const Eref &e) const =0 |
virtual double | vGetCeiling (const Eref &e) const =0 |
virtual double | vGetFloor (const Eref &e) const =0 |
virtual double | vGetTau (const Eref &e) const =0 |
virtual void | vIncrease (const Eref &e, double I)=0 |
virtual void | vProcess (const Eref &, ProcPtr info)=0 |
virtual void | vReinit (const Eref &, ProcPtr info)=0 |
virtual void | vSetB (const Eref &e, double val)=0 |
virtual void | vSetCa (const Eref &e, double val)=0 |
virtual void | vSetCaBasal (const Eref &e, double val)=0 |
virtual void | vSetCeiling (const Eref &e, double val)=0 |
virtual void | vSetFloor (const Eref &e, double val)=0 |
virtual void | vSetSolver (const Eref &e, Id hsolve) |
Used to set up the solver. Dummy for regular classes. More... | |
virtual void | vSetTau (const Eref &e, double val)=0 |
Static Public Member Functions | |
static SrcFinfo1< double > * | concOut () |
static const Cinfo * | initCinfo () |
static void | zombify (Element *orig, const Cinfo *zClass, Id hsolve) |
Private Attributes | |
double | diameter_ |
double | length_ |
double | thickness_ |
This is the base class for CaConc. It handles calcium current influx, conversion to calcium concentration, buffering, and pumps. It obeys the equation:
dC/dt = B*Ik - C/tau where Ca = Ca_base + C.
From the GENESIS notes: In SI units, where concentration is moles/m^3 (milli-moles/liter) and current is in amperes, theory gives B = 5.2e-6/(shell volume). In practice, B is a parameter to be fitted or estimated from experiment, as buffering, non-uniform distribution of Ca, etc., will modify this value. If thick = 0, the readcell routine calculates B by dividing the "density" parameter in the cell parameter file by the volume of the compartment. Otherwise, it scales as a true shell, with the volume of a shell having thickness thick. A negative value of the "density" parameter may be used to indicate that it should be taken as an absolute value of B, without scaling.
This is a base class to provide the interface functions.
Definition at line 38 of file CaConcBase.h.
CaConcBase::CaConcBase | ( | ) |
Definition at line 194 of file CaConcBase.cpp.
|
static |
Definition at line 25 of file CaConcBase.cpp.
Referenced by initCinfo(), HSolveActive::sendValues(), CaConc::vProcess(), and CaConc::vReinit().
void CaConcBase::current | ( | const Eref & | e, |
double | I | ||
) |
Definition at line 313 of file CaConcBase.cpp.
References vCurrent().
Referenced by initCinfo().
void CaConcBase::currentFraction | ( | const Eref & | e, |
double | I, | ||
double | fraction | ||
) |
Definition at line 318 of file CaConcBase.cpp.
References vCurrentFraction().
Referenced by initCinfo().
void CaConcBase::decrease | ( | const Eref & | e, |
double | I | ||
) |
Definition at line 328 of file CaConcBase.cpp.
References vDecrease().
Referenced by initCinfo().
double CaConcBase::getB | ( | const Eref & | e | ) | const |
Definition at line 234 of file CaConcBase.cpp.
References vGetB().
Referenced by initCinfo(), and zombify().
double CaConcBase::getCa | ( | const Eref & | e | ) | const |
Definition at line 207 of file CaConcBase.cpp.
References vGetCa().
Referenced by initCinfo(), and zombify().
double CaConcBase::getCaBasal | ( | const Eref & | e | ) | const |
Definition at line 216 of file CaConcBase.cpp.
References vGetCaBasal().
Referenced by initCinfo(), and zombify().
double CaConcBase::getCeiling | ( | const Eref & | e | ) | const |
Definition at line 242 of file CaConcBase.cpp.
References vGetCeiling().
Referenced by initCinfo(), and zombify().
double CaConcBase::getDiameter | ( | const Eref & | e | ) | const |
Definition at line 284 of file CaConcBase.cpp.
References diameter_.
Referenced by initCinfo(), and zombify().
double CaConcBase::getFloor | ( | const Eref & | e | ) | const |
Definition at line 251 of file CaConcBase.cpp.
References vGetFloor().
Referenced by initCinfo(), and zombify().
double CaConcBase::getLength | ( | const Eref & | e | ) | const |
Definition at line 294 of file CaConcBase.cpp.
References length_.
Referenced by initCinfo(), and zombify().
double CaConcBase::getTau | ( | const Eref & | e | ) | const |
Definition at line 225 of file CaConcBase.cpp.
References vGetTau().
Referenced by initCinfo(), and zombify().
double CaConcBase::getThickness | ( | const Eref & | e | ) | const |
Definition at line 273 of file CaConcBase.cpp.
References thickness_.
Referenced by initCinfo(), and zombify().
void CaConcBase::increase | ( | const Eref & | e, |
double | I | ||
) |
Definition at line 323 of file CaConcBase.cpp.
References vIncrease().
Referenced by initCinfo().
|
static |
Definition at line 31 of file CaConcBase.cpp.
References concOut(), current(), currentFraction(), decrease(), getB(), getCa(), getCaBasal(), getCeiling(), getDiameter(), getFloor(), getLength(), getTau(), getThickness(), increase(), Neutral::initCinfo(), process(), reinit(), setB(), setCa(), setCaBasal(), setCeiling(), setDiameter(), setFloor(), setLength(), setTau(), and setThickness().
Referenced by ZombieCaConc::initCinfo(), and CaConc::initCinfo().
Definition at line 308 of file CaConcBase.cpp.
References vProcess().
Referenced by initCinfo().
Definition at line 303 of file CaConcBase.cpp.
References vReinit().
Referenced by initCinfo().
void CaConcBase::setB | ( | const Eref & | e, |
double | val | ||
) |
Definition at line 230 of file CaConcBase.cpp.
References vSetB().
Referenced by initCinfo(), and zombify().
void CaConcBase::setCa | ( | const Eref & | e, |
double | val | ||
) |
Definition at line 203 of file CaConcBase.cpp.
References vSetCa().
Referenced by initCinfo(), and zombify().
void CaConcBase::setCaBasal | ( | const Eref & | e, |
double | val | ||
) |
Definition at line 212 of file CaConcBase.cpp.
References vSetCaBasal().
Referenced by initCinfo(), and zombify().
void CaConcBase::setCeiling | ( | const Eref & | e, |
double | val | ||
) |
Definition at line 238 of file CaConcBase.cpp.
References vSetCeiling().
Referenced by initCinfo(), and zombify().
void CaConcBase::setDiameter | ( | const Eref & | e, |
double | val | ||
) |
Definition at line 278 of file CaConcBase.cpp.
References diameter_, and updateDimensions().
Referenced by initCinfo(), and zombify().
void CaConcBase::setFloor | ( | const Eref & | e, |
double | val | ||
) |
Definition at line 247 of file CaConcBase.cpp.
References vSetFloor().
Referenced by initCinfo(), and zombify().
void CaConcBase::setLength | ( | const Eref & | e, |
double | val | ||
) |
Definition at line 289 of file CaConcBase.cpp.
References length_, and updateDimensions().
Referenced by initCinfo(), and zombify().
void CaConcBase::setTau | ( | const Eref & | e, |
double | val | ||
) |
Definition at line 221 of file CaConcBase.cpp.
References vSetTau().
Referenced by initCinfo(), and zombify().
void CaConcBase::setThickness | ( | const Eref & | e, |
double | val | ||
) |
Definition at line 267 of file CaConcBase.cpp.
References thickness_, and updateDimensions().
Referenced by initCinfo(), and zombify().
void CaConcBase::updateDimensions | ( | const Eref & | e | ) |
Definition at line 256 of file CaConcBase.cpp.
References diameter_, FaradayConst, length_, PI, thickness_, and vSetB().
Referenced by setDiameter(), setLength(), and setThickness().
|
pure virtual |
Implemented in CaConc, and ZombieCaConc.
Referenced by current().
|
pure virtual |
Implemented in CaConc, and ZombieCaConc.
Referenced by currentFraction().
|
pure virtual |
Implemented in CaConc, and ZombieCaConc.
Referenced by decrease().
|
pure virtual |
Implemented in CaConc, and ZombieCaConc.
Referenced by getB().
|
pure virtual |
Implemented in CaConc, and ZombieCaConc.
Referenced by getCa().
|
pure virtual |
Implemented in CaConc, and ZombieCaConc.
Referenced by getCaBasal().
|
pure virtual |
Implemented in CaConc, and ZombieCaConc.
Referenced by getCeiling().
|
pure virtual |
Implemented in CaConc, and ZombieCaConc.
Referenced by getFloor().
|
pure virtual |
Implemented in CaConc, and ZombieCaConc.
Referenced by getTau().
|
pure virtual |
Implemented in CaConc, and ZombieCaConc.
Referenced by increase().
Implemented in CaConc, and ZombieCaConc.
Referenced by process().
Implemented in CaConc, and ZombieCaConc.
Referenced by reinit().
|
pure virtual |
Implemented in CaConc, and ZombieCaConc.
Referenced by setB(), and updateDimensions().
|
pure virtual |
Implemented in CaConc, and ZombieCaConc.
Referenced by setCa().
|
pure virtual |
Implemented in CaConc, and ZombieCaConc.
Referenced by setCaBasal().
|
pure virtual |
Implemented in CaConc, and ZombieCaConc.
Referenced by setCeiling().
|
pure virtual |
Implemented in CaConc, and ZombieCaConc.
Referenced by setFloor().
Used to set up the solver. Dummy for regular classes.
Reimplemented in ZombieCaConc.
Definition at line 339 of file CaConcBase.cpp.
Referenced by zombify().
|
pure virtual |
Implemented in CaConc, and ZombieCaConc.
Referenced by setTau().
Swaps Cinfos in order to make Zombies.
Definition at line 343 of file CaConcBase.cpp.
References Element::cinfo(), Eref::data(), getB(), getCa(), getCaBasal(), getCeiling(), getDiameter(), getFloor(), getLength(), getTau(), getThickness(), Element::localDataStart(), Element::numLocalData(), setB(), setCa(), setCaBasal(), setCeiling(), setDiameter(), setFloor(), setLength(), setTau(), setThickness(), vSetSolver(), and Element::zombieSwap().
Referenced by HSolve::unzombify(), and HSolve::zombify().
|
private |
Definition at line 123 of file CaConcBase.h.
Referenced by getDiameter(), setDiameter(), and updateDimensions().
|
private |
Definition at line 124 of file CaConcBase.h.
Referenced by getLength(), setLength(), and updateDimensions().
|
private |
Definition at line 122 of file CaConcBase.h.
Referenced by getThickness(), setThickness(), and updateDimensions().