MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <DifShell.h>
Public Member Functions | |
void | calculateVolumeArea (const Eref &e) |
DifShell () | |
Faraday's constant (Coulomb / Mole) More... | |
void | vBuffer (const Eref &e, double kf, double kb, double bFree, double bBound) |
void | vEqTauPump (const Eref &e, double kP) |
void | vFInflux (const Eref &e, double I, double fraction) |
void | vFluxFromIn (const Eref &e, double innerC, double innerThickness) |
void | vFluxFromOut (const Eref &e, double outerC, double outerThickness) |
void | vFOutflux (const Eref &e, double I, double fraction) |
double | vGetC (const Eref &e) const |
double | vGetCeq (const Eref &e) const |
double | vGetD (const Eref &e) const |
double | vGetDiameter (const Eref &e) const |
double | vGetInnerArea (const Eref &e) const |
double | vGetLeak (const Eref &e) const |
double | vGetLength (const Eref &e) const |
double | vGetOuterArea (const Eref &e) const |
unsigned int | vGetShapeMode (const Eref &e) const |
double | vGetThickness (const Eref &e) const |
double | vGetValence (const Eref &e) const |
double | vGetVolume (const Eref &e) const |
void | vHillPump (const Eref &e, double vMax, double Kd, unsigned int hill) |
void | vInflux (const Eref &e, double I) |
void | vMMPump (const Eref &e, double vMax, double Kd) |
void | vOutflux (const Eref &e, double I) |
void | vProcess (const Eref &e, ProcPtr p) |
void | vReinit (const Eref &e, ProcPtr p) |
void | vSetC (const Eref &e, double C) |
C is a read-only field. More... | |
void | vSetCeq (const Eref &e, double Ceq) |
void | vSetD (const Eref &e, double D) |
void | vSetDiameter (const Eref &e, double diameter) |
void | vSetInnerArea (const Eref &e, double innerArea) |
void | vSetLeak (const Eref &e, double leak) |
void | vSetLength (const Eref &e, double length) |
void | vSetOuterArea (const Eref &e, double outerArea) |
void | vSetShapeMode (const Eref &e, unsigned int shapeMode) |
void | vSetThickness (const Eref &e, double thickness) |
void | vSetValence (const Eref &e, double valence) |
void | vSetVolume (const Eref &e, double volume) |
void | vStoreInflux (const Eref &e, double flux) |
void | vStoreOutflux (const Eref &e, double flux) |
void | vTauPump (const Eref &e, double kP, double Ceq) |
![]() | |
void | buffer (const Eref &e, double kf, double kb, double bFree, double bBound) |
DifShellBase () | |
void | eqTauPump (const Eref &e, double kP) |
void | fInflux (const Eref &e, double I, double fraction) |
void | fluxFromIn (const Eref &e, double innerC, double innerThickness) |
void | fluxFromOut (const Eref &e, double outerC, double outerThickness) |
void | fOutflux (const Eref &e, double I, double fraction) |
double | getC (const Eref &e) const |
double | getCeq (const Eref &e) const |
double | getD (const Eref &e) const |
double | getDiameter (const Eref &e) const |
double | getInnerArea (const Eref &e) const |
double | getLeak (const Eref &e) const |
double | getLength (const Eref &e) const |
double | getOuterArea (const Eref &e) const |
unsigned int | getShapeMode (const Eref &e) const |
double | getThickness (const Eref &e) const |
double | getValence (const Eref &e) const |
double | getVolume (const Eref &e) const |
void | hillPump (const Eref &e, double vMax, double Kd, unsigned int hill) |
void | influx (const Eref &e, double I) |
void | mmPump (const Eref &e, double vMax, double Kd) |
void | outflux (const Eref &e, double I) |
void | process (const Eref &e, ProcPtr p) |
void | reinit (const Eref &e, ProcPtr p) |
void | setC (const Eref &e, double C) |
void | setCeq (const Eref &e, double Ceq) |
void | setD (const Eref &e, double D) |
void | setDiameter (const Eref &e, double diameter) |
void | setInnerArea (const Eref &e, double innerArea) |
void | setLeak (const Eref &e, double leak) |
void | setLength (const Eref &e, double length) |
void | setOuterArea (const Eref &e, double outerArea) |
void | setShapeMode (const Eref &e, unsigned int shapeMode) |
void | setThickness (const Eref &e, double thickness) |
void | setValence (const Eref &e, double valence) |
void | setVolume (const Eref &e, double volume) |
void | storeInflux (const Eref &e, double flux) |
void | storeOutflux (const Eref &e, double flux) |
void | tauPump (const Eref &e, double kP, double Ceq) |
Static Public Member Functions | |
static const Cinfo * | initCinfo () |
![]() | |
static SrcFinfo1< double > * | concentrationOut () |
static const Cinfo * | initCinfo () |
static SrcFinfo2< double, double > * | innerDifSourceOut () |
static SrcFinfo2< double, double > * | outerDifSourceOut () |
Private Member Functions | |
double | integrate (double state, double dt, double A, double B) |
Private Attributes | |
double | C_ |
double | Ceq_ |
double | Cmultiplier_ |
double | D_ |
double | dCbyDt_ |
double | diameter_ |
double | innerArea_ |
double | leak_ |
double | length_ |
double | outerArea_ |
double | prevC_ |
unsigned int | shapeMode_ |
double | thickness_ |
double | valence_ |
double | volume_ |
Static Private Attributes | |
static const double | EPSILON = 1.0e-10 |
static const double | F = 96485.3415 |
Faraday's constant (Coulomb / Mole) More... | |
Definition at line 14 of file DifShell.h.
DifShell::DifShell | ( | ) |
void DifShell::calculateVolumeArea | ( | const Eref & | e | ) |
Definition at line 285 of file DifShell.cpp.
References diameter_, innerArea_, length_, M_PI, outerArea_, shapeMode_, thickness_, and volume_.
Referenced by vReinit(), vSetDiameter(), vSetLength(), vSetShapeMode(), and vSetThickness().
|
static |
Definition at line 19 of file DifShell.cpp.
References difShellCinfo, and DifShellBase::initCinfo().
|
private |
Definition at line 275 of file DifShell.cpp.
References EPSILON.
Referenced by vProcess().
|
virtual |
Implements DifShellBase.
Definition at line 376 of file DifShell.cpp.
References Cmultiplier_, and dCbyDt_.
|
virtual |
Same as tauPump, except that we use the v value of Ceq.
Implements DifShellBase.
Definition at line 459 of file DifShell.cpp.
References Ceq_, Cmultiplier_, and dCbyDt_.
|
virtual |
Implements DifShellBase.
Definition at line 429 of file DifShell.cpp.
References dCbyDt_, F, valence_, and volume_.
|
virtual |
Implements DifShellBase.
Definition at line 400 of file DifShell.cpp.
References Cmultiplier_, D_, dCbyDt_, innerArea_, thickness_, and volume_.
|
virtual |
We could pre-compute ( D / Volume ), but let us leave the optimizations for the solver.
Implements DifShellBase.
Definition at line 386 of file DifShell.cpp.
References Cmultiplier_, D_, dCbyDt_, outerArea_, thickness_, and volume_.
|
virtual |
Implements DifShellBase.
Definition at line 434 of file DifShell.cpp.
References dCbyDt_, F, valence_, and volume_.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements DifShellBase.
Definition at line 471 of file DifShell.cpp.
References C_, dCbyDt_, and volume_.
|
virtual |
I: Amperes F_: Faraday's constant: Coulomb / mole valence_: charge on ion: dimensionless
Implements DifShellBase.
Definition at line 410 of file DifShell.cpp.
References dCbyDt_, F, valence_, and volume_.
|
virtual |
Implements DifShellBase.
Definition at line 465 of file DifShell.cpp.
References C_, Cmultiplier_, and volume_.
|
virtual |
Same as influx, except subtracting.
Implements DifShellBase.
Definition at line 424 of file DifShell.cpp.
References dCbyDt_, F, valence_, and volume_.
Send ion concentration and thickness to adjacent DifShells. They will then compute their incoming fluxes.
Send ion concentration to ion buffers. They will send back information on the reaction (forward / backward rates ; free / bound buffer concentration) immediately, which this DifShell will use to find amount of ion captured or released in the current time-step.
Implements DifShellBase.
Definition at line 348 of file DifShell.cpp.
References C_, Cmultiplier_, DifShellBase::concentrationOut(), dCbyDt_, ProcInfo::dt, DifShellBase::innerDifSourceOut(), integrate(), leak_, DifShellBase::outerDifSourceOut(), prevC_, and thickness_.
Implements DifShellBase.
Definition at line 334 of file DifShell.cpp.
References C_, calculateVolumeArea(), Ceq_, Cmultiplier_, DifShellBase::concentrationOut(), dCbyDt_, DifShellBase::innerDifSourceOut(), leak_, DifShellBase::outerDifSourceOut(), prevC_, and thickness_.
|
virtual |
|
virtual |
Implements DifShellBase.
Definition at line 95 of file DifShell.cpp.
References C_, Ceq_, and prevC_.
|
virtual |
|
virtual |
Implements DifShellBase.
Definition at line 184 of file DifShell.cpp.
References calculateVolumeArea(), and diameter_.
|
virtual |
Implements DifShellBase.
Definition at line 252 of file DifShell.cpp.
References innerArea_, and shapeMode_.
|
virtual |
|
virtual |
Implements DifShellBase.
Definition at line 168 of file DifShell.cpp.
References calculateVolumeArea(), and length_.
|
virtual |
Implements DifShellBase.
Definition at line 234 of file DifShell.cpp.
References outerArea_, and shapeMode_.
|
virtual |
Implements DifShellBase.
Definition at line 153 of file DifShell.cpp.
References calculateVolumeArea(), and shapeMode_.
|
virtual |
Implements DifShellBase.
Definition at line 200 of file DifShell.cpp.
References calculateVolumeArea(), and thickness_.
|
virtual |
|
virtual |
Implements DifShellBase.
Definition at line 216 of file DifShell.cpp.
References shapeMode_, and volume_.
|
virtual |
Implements DifShellBase.
Definition at line 439 of file DifShell.cpp.
References dCbyDt_, and volume_.
|
virtual |
Implements DifShellBase.
Definition at line 444 of file DifShell.cpp.
References dCbyDt_, and volume_.
|
virtual |
Implements DifShellBase.
Definition at line 449 of file DifShell.cpp.
References Cmultiplier_, and dCbyDt_.
|
private |
Definition at line 88 of file DifShell.h.
Referenced by vGetC(), vHillPump(), vMMPump(), vProcess(), vReinit(), vSetC(), and vSetCeq().
|
private |
Definition at line 89 of file DifShell.h.
Referenced by vEqTauPump(), vGetCeq(), vReinit(), and vSetCeq().
|
private |
Definition at line 87 of file DifShell.h.
Referenced by vBuffer(), vEqTauPump(), vFluxFromIn(), vFluxFromOut(), vMMPump(), vProcess(), vReinit(), and vTauPump().
|
private |
Definition at line 91 of file DifShell.h.
Referenced by vFluxFromIn(), vFluxFromOut(), vGetD(), and vSetD().
|
private |
Definition at line 86 of file DifShell.h.
Referenced by vBuffer(), vEqTauPump(), vFInflux(), vFluxFromIn(), vFluxFromOut(), vFOutflux(), vHillPump(), vInflux(), vOutflux(), vProcess(), vReinit(), vStoreInflux(), vStoreOutflux(), and vTauPump().
|
private |
Definition at line 96 of file DifShell.h.
Referenced by calculateVolumeArea(), vGetDiameter(), and vSetDiameter().
|
staticprivate |
Definition at line 102 of file DifShell.h.
Referenced by integrate().
|
staticprivate |
Faraday's constant (Coulomb / Mole)
Definition at line 104 of file DifShell.h.
Referenced by vFInflux(), vFOutflux(), vInflux(), and vOutflux().
|
private |
Definition at line 100 of file DifShell.h.
Referenced by calculateVolumeArea(), vFluxFromIn(), vGetInnerArea(), and vSetInnerArea().
|
private |
Definition at line 93 of file DifShell.h.
Referenced by vGetLeak(), vProcess(), vReinit(), and vSetLeak().
|
private |
Definition at line 95 of file DifShell.h.
Referenced by calculateVolumeArea(), vGetLength(), and vSetLength().
|
private |
Definition at line 99 of file DifShell.h.
Referenced by calculateVolumeArea(), vFluxFromOut(), vGetOuterArea(), and vSetOuterArea().
|
private |
Definition at line 90 of file DifShell.h.
Referenced by vProcess(), vReinit(), vSetC(), and vSetCeq().
|
private |
Definition at line 94 of file DifShell.h.
Referenced by calculateVolumeArea(), vGetShapeMode(), vSetInnerArea(), vSetOuterArea(), vSetShapeMode(), and vSetVolume().
|
private |
Definition at line 97 of file DifShell.h.
Referenced by calculateVolumeArea(), vFluxFromIn(), vFluxFromOut(), vGetThickness(), vProcess(), vReinit(), and vSetThickness().
|
private |
Definition at line 92 of file DifShell.h.
Referenced by vFInflux(), vFOutflux(), vGetValence(), vInflux(), vOutflux(), and vSetValence().
|
private |
Definition at line 98 of file DifShell.h.
Referenced by calculateVolumeArea(), vFInflux(), vFluxFromIn(), vFluxFromOut(), vFOutflux(), vGetVolume(), vHillPump(), vInflux(), vMMPump(), vOutflux(), vSetVolume(), vStoreInflux(), and vStoreOutflux().