#include <Pool.h>
Public Member Functions | |
Pool () | |
~Pool () | |
void | vSetN (const Eref &e, double v) |
double | vGetN (const Eref &e) const |
void | vSetNinit (const Eref &e, double v) |
double | vGetNinit (const Eref &e) const |
void | vSetDiffConst (const Eref &e, double v) |
double | vGetDiffConst (const Eref &e) const |
void | vSetMotorConst (const Eref &e, double v) |
Dummy MotorConst field for most Pool subclasses. | |
double | vGetMotorConst (const Eref &e) const |
void | vSetConc (const Eref &e, double v) |
double | vGetConc (const Eref &e) const |
void | vSetConcInit (const Eref &e, double v) |
void | vSetVolume (const Eref &e, double v) |
double | vGetVolume (const Eref &e) const |
void | vSetSpecies (const Eref &e, SpeciesId v) |
SpeciesId | vGetSpecies (const Eref &e) const |
void | vHandleMolWt (const Eref &e, double v) |
void | vProcess (const Eref &e, ProcPtr p) |
void | vReinit (const Eref &e, ProcPtr p) |
void | vReac (double A, double B) |
void | increment (double val) |
void | decrement (double val) |
void | nIn (double val) |
Static Public Member Functions | |
static const Cinfo * | initCinfo () |
The Pool class is a molecular pool. This is a set of molecules of a given species, in a uniform chemical context. Note that the same species might be present in other compartments, or be handled by other solvers.
Pool::Pool | ( | ) |
Pool::~Pool | ( | ) |
void Pool::decrement | ( | double | val | ) |
Referenced by initCinfo().
void Pool::increment | ( | double | val | ) |
Referenced by initCinfo().
const Cinfo * Pool::initCinfo | ( | ) | [static] |
Reimplemented from PoolBase.
Reimplemented in BufPool.
References decrement(), increment(), PoolBase::initCinfo(), and nIn().
Referenced by BufPool::initCinfo().
void Pool::nIn | ( | double | val | ) |
Referenced by initCinfo().
double Pool::vGetConc | ( | const Eref & | e | ) | const [virtual] |
Implements PoolBase.
References lookupVolumeFromMesh(), and NA.
double Pool::vGetVolume | ( | const Eref & | e | ) | const [virtual] |
Reimplemented from PoolBase.
Reimplemented in BufPool.
References ProcInfo::dt, EPSILON, and SrcFinfo1< T >::send().
void Pool::vReac | ( | double | A, | |
double | B | |||
) | [virtual] |
Reimplemented from PoolBase.
Reimplemented from PoolBase.
Reimplemented in BufPool.
References PoolBase::getNinit(), and SrcFinfo1< T >::send().
void Pool::vSetConc | ( | const Eref & | e, | |
double | v | |||
) | [virtual] |
Implements PoolBase.
Reimplemented in BufPool.
References lookupVolumeFromMesh(), and NA.
void Pool::vSetConcInit | ( | const Eref & | e, | |
double | v | |||
) | [virtual] |
Implements PoolBase.
Reimplemented in BufPool.
References lookupVolumeFromMesh(), and NA.
void Pool::vSetMotorConst | ( | const Eref & | e, | |
double | v | |||
) | [virtual] |
void Pool::vSetN | ( | const Eref & | e, | |
double | v | |||
) | [virtual] |
void Pool::vSetNinit | ( | const Eref & | e, | |
double | v | |||
) | [virtual] |
void Pool::vSetVolume | ( | const Eref & | e, | |
double | v | |||
) | [virtual] |
Volume is usually volume, but we also permit areal density This is obtained by looking up the corresponding spatial mesh entry in the parent compartment. If the message isn't set then it defaults to 1.0.
Implements PoolBase.