MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <MarkovRateTable.h>
Public Member Functions | |
bool | areAllRates1d () |
bool | areAllRates2d () |
bool | areAllRatesConstant () |
bool | areAllRatesLigandDep () |
bool | areAllRatesVoltageDep () |
bool | areAnyRates1d () |
bool | areAnyRates2d () |
bool | areAnyRatesLigandDep () |
bool | areAnyRatesVoltageDep () |
bool | areIndicesOutOfBounds (unsigned int, unsigned int) const |
Interpol2D * | getInt2dChildTable (unsigned int, unsigned int) const |
double | getLigandConc () const |
vector< unsigned int > | getListOf1dRates () |
vector< unsigned int > | getListOf2dRates () |
vector< unsigned int > | getListOfConstantRates () |
vector< unsigned int > | getListOfLigandRates () |
vector< unsigned int > | getListOfVoltageRates () |
vector< vector< double > > | getQ () const |
unsigned int | getSize () const |
double | getVm () const |
VectorTable * | getVtChildTable (unsigned int, unsigned int) const |
void | handleLigandConc (double) |
void | handleVm (double) |
void | init (unsigned int) |
void | initConstantRates () |
void | innerSetInt2dChildTable (unsigned int, unsigned int, Interpol2D) |
void | innerSetVtChildTable (unsigned int, unsigned int, VectorTable, unsigned int) |
bool | isRate1d (unsigned int, unsigned int) const |
bool | isRate2d (unsigned int, unsigned int) const |
bool | isRateConstant (unsigned int, unsigned int) const |
bool | isRateLigandDep (unsigned int, unsigned int) const |
bool | isRateZero (unsigned int, unsigned int) const |
double | lookup1dIndex (unsigned int, unsigned int, unsigned int) |
double | lookup1dValue (unsigned int, unsigned int, double) |
double | lookup2dIndex (unsigned int, unsigned int, unsigned int, unsigned int) |
double | lookup2dValue (unsigned int, unsigned int, double, double) |
MarkovRateTable () | |
void | process (const Eref &, ProcPtr) |
void | reinit (const Eref &, ProcPtr) |
void | setConstantRate (unsigned int, unsigned int, double) |
void | setInt2dChildTable (unsigned int, unsigned int, Id) |
void | setLigandConc (double) |
void | setVm (double) |
void | setVtChildTable (unsigned int, unsigned int, Id, unsigned int) |
void | updateRates () |
~MarkovRateTable () | |
Static Public Member Functions | |
static const Cinfo * | initCinfo () |
Private Member Functions | |
bool | isInitialized () const |
Private Attributes | |
vector< vector< Interpol2D * > > | int2dTables_ |
double | ligandConc_ |
vector< unsigned int > | listOf1dRates_ |
vector< unsigned int > | listOf2dRates_ |
vector< unsigned int > | listOfConstantRates_ |
vector< unsigned int > | listOfLigandRates_ |
vector< unsigned int > | listOfVoltageRates_ |
vector< vector< double > > | Q_ |
unsigned int | size_ |
vector< vector< unsigned int > > | useLigandConc_ |
double | Vm_ |
vector< vector< VectorTable * > > | vtTables_ |
Friends | |
istream & | operator>> (istream &, MarkovRateTable &) |
Definition at line 48 of file MarkovRateTable.h.
MarkovRateTable::MarkovRateTable | ( | ) |
Definition at line 170 of file MarkovRateTable.cpp.
MarkovRateTable::~MarkovRateTable | ( | ) |
Definition at line 176 of file MarkovRateTable.cpp.
References int2dTables_, isRate1d(), isRate2d(), isRateConstant(), size_, and vtTables_.
bool MarkovRateTable::areAllRates1d | ( | ) |
Definition at line 444 of file MarkovRateTable.cpp.
References areAnyRates1d(), and areAnyRates2d().
Referenced by areAllRatesLigandDep(), areAllRatesVoltageDep(), MarkovSolverBase::computeState(), MarkovSolverBase::fillupTable(), MarkovSolverBase::init(), and MarkovSolverBase::setLookupParams().
bool MarkovRateTable::areAllRates2d | ( | ) |
Definition at line 455 of file MarkovRateTable.cpp.
References areAnyRates1d(), and areAnyRates2d().
bool MarkovRateTable::areAllRatesConstant | ( | ) |
Definition at line 432 of file MarkovRateTable.cpp.
References listOf1dRates_, listOf2dRates_, and listOfConstantRates_.
Referenced by MarkovSolverBase::fillupTable(), and process().
bool MarkovRateTable::areAllRatesLigandDep | ( | ) |
Definition at line 466 of file MarkovRateTable.cpp.
References areAllRates1d(), areAnyRatesLigandDep(), and areAnyRatesVoltageDep().
Referenced by MarkovSolverBase::fillupTable(), MarkovSolverBase::init(), and MarkovSolverBase::setLookupParams().
bool MarkovRateTable::areAllRatesVoltageDep | ( | ) |
Definition at line 478 of file MarkovRateTable.cpp.
References areAllRates1d(), areAnyRatesLigandDep(), and areAnyRatesVoltageDep().
Referenced by MarkovSolverBase::fillupTable(), MarkovSolverBase::init(), and MarkovSolverBase::linearInterpolate().
bool MarkovRateTable::areAnyRates1d | ( | ) |
Definition at line 439 of file MarkovRateTable.cpp.
References listOf1dRates_.
Referenced by areAllRates1d(), areAllRates2d(), and MarkovSolverBase::setLookupParams().
bool MarkovRateTable::areAnyRates2d | ( | ) |
Definition at line 450 of file MarkovRateTable.cpp.
References listOf2dRates_.
Referenced by areAllRates1d(), areAllRates2d(), MarkovSolverBase::computeState(), MarkovSolverBase::fillupTable(), MarkovSolverBase::init(), and MarkovSolverBase::setLookupParams().
bool MarkovRateTable::areAnyRatesLigandDep | ( | ) |
Definition at line 461 of file MarkovRateTable.cpp.
References listOfLigandRates_.
Referenced by areAllRatesLigandDep(), areAllRatesVoltageDep(), MarkovSolverBase::computeState(), MarkovSolverBase::fillupTable(), and MarkovSolverBase::init().
bool MarkovRateTable::areAnyRatesVoltageDep | ( | ) |
Definition at line 473 of file MarkovRateTable.cpp.
References listOfVoltageRates_.
Referenced by areAllRatesLigandDep(), areAllRatesVoltageDep(), MarkovSolverBase::computeState(), MarkovSolverBase::fillupTable(), and MarkovSolverBase::init().
bool MarkovRateTable::areIndicesOutOfBounds | ( | unsigned int | i, |
unsigned int | j | ||
) | const |
Definition at line 427 of file MarkovRateTable.cpp.
References size_.
Referenced by innerSetInt2dChildTable(), innerSetVtChildTable(), lookup1dIndex(), lookup1dValue(), lookup2dIndex(), and lookup2dValue().
Interpol2D * MarkovRateTable::getInt2dChildTable | ( | unsigned int | i, |
unsigned int | j | ||
) | const |
Definition at line 236 of file MarkovRateTable.cpp.
References int2dTables_, and isRate2d().
Referenced by MarkovSolverBase::setLookupParams().
double MarkovRateTable::getLigandConc | ( | ) | const |
Definition at line 383 of file MarkovRateTable.cpp.
References ligandConc_.
Referenced by initCinfo().
vector< unsigned int > MarkovRateTable::getListOf1dRates | ( | ) |
Definition at line 543 of file MarkovRateTable.cpp.
References listOf1dRates_.
Referenced by MarkovSolverBase::fillupTable().
vector< unsigned int > MarkovRateTable::getListOf2dRates | ( | ) |
Definition at line 548 of file MarkovRateTable.cpp.
References listOf2dRates_.
Referenced by MarkovSolverBase::fillupTable(), and MarkovSolverBase::setLookupParams().
vector< unsigned int > MarkovRateTable::getListOfConstantRates | ( | ) |
Definition at line 563 of file MarkovRateTable.cpp.
References listOfConstantRates_.
Referenced by MarkovSolverBase::fillupTable().
vector< unsigned int > MarkovRateTable::getListOfLigandRates | ( | ) |
Definition at line 558 of file MarkovRateTable.cpp.
References listOfLigandRates_.
Referenced by MarkovSolverBase::fillupTable(), and MarkovSolverBase::setLookupParams().
vector< unsigned int > MarkovRateTable::getListOfVoltageRates | ( | ) |
Definition at line 553 of file MarkovRateTable.cpp.
References listOfVoltageRates_.
Referenced by MarkovSolverBase::fillupTable(), and MarkovSolverBase::setLookupParams().
vector< vector< double > > MarkovRateTable::getQ | ( | ) | const |
Definition at line 363 of file MarkovRateTable.cpp.
References Q_.
Referenced by initCinfo().
unsigned int MarkovRateTable::getSize | ( | ) | const |
Definition at line 368 of file MarkovRateTable.cpp.
References size_.
Referenced by MarkovSolverBase::init(), and initCinfo().
double MarkovRateTable::getVm | ( | ) | const |
Definition at line 373 of file MarkovRateTable.cpp.
References Vm_.
Referenced by initCinfo().
VectorTable * MarkovRateTable::getVtChildTable | ( | unsigned int | i, |
unsigned int | j | ||
) | const |
Definition at line 190 of file MarkovRateTable.cpp.
References isRate1d(), isRateConstant(), and vtTables_.
Referenced by MarkovSolverBase::setLookupParams().
void MarkovRateTable::handleLigandConc | ( | double | ligandConc | ) |
Definition at line 649 of file MarkovRateTable.cpp.
References ligandConc_.
Referenced by initCinfo().
void MarkovRateTable::handleVm | ( | double | Vm | ) |
Definition at line 644 of file MarkovRateTable.cpp.
References Vm_.
Referenced by initCinfo().
void MarkovRateTable::init | ( | unsigned int | size | ) |
Definition at line 630 of file MarkovRateTable.cpp.
References int2dTables_, Q_, size_, useLigandConc_, and vtTables_.
Referenced by initCinfo().
|
static |
Definition at line 27 of file MarkovRateTable.cpp.
References getLigandConc(), getQ(), getSize(), getVm(), handleLigandConc(), handleVm(), init(), Neutral::initCinfo(), instRatesOut(), MarkovRateTableCinfo, process(), reinit(), setConstantRate(), setInt2dChildTable(), setLigandConc(), setVm(), and setVtChildTable().
void MarkovRateTable::initConstantRates | ( | ) |
Definition at line 525 of file MarkovRateTable.cpp.
References listOfConstantRates_, lookup1dValue(), and Q_.
Referenced by reinit().
void MarkovRateTable::innerSetInt2dChildTable | ( | unsigned int | i, |
unsigned int | j, | ||
Interpol2D | int2dTable | ||
) |
Definition at line 248 of file MarkovRateTable.cpp.
References areIndicesOutOfBounds(), int2dTables_, isRate1d(), isRate2d(), and isRateConstant().
Referenced by setInt2dChildTable().
void MarkovRateTable::innerSetVtChildTable | ( | unsigned int | i, |
unsigned int | j, | ||
VectorTable | vecTable, | ||
unsigned int | ligandFlag | ||
) |
Definition at line 202 of file MarkovRateTable.cpp.
References areIndicesOutOfBounds(), isRate1d(), isRate2d(), isRateConstant(), useLigandConc_, and vtTables_.
Referenced by setConstantRate(), and setVtChildTable().
|
private |
Definition at line 600 of file MarkovRateTable.cpp.
References size_.
Referenced by reinit().
bool MarkovRateTable::isRate1d | ( | unsigned int | i, |
unsigned int | j | ||
) | const |
Definition at line 406 of file MarkovRateTable.cpp.
References vtTables_.
Referenced by getVtChildTable(), innerSetInt2dChildTable(), innerSetVtChildTable(), isRateLigandDep(), lookup1dIndex(), lookup1dValue(), operator>>(), and ~MarkovRateTable().
bool MarkovRateTable::isRate2d | ( | unsigned int | i, |
unsigned int | j | ||
) | const |
Definition at line 422 of file MarkovRateTable.cpp.
References int2dTables_.
Referenced by getInt2dChildTable(), innerSetInt2dChildTable(), innerSetVtChildTable(), isRateConstant(), lookup2dIndex(), lookup2dValue(), operator>>(), and ~MarkovRateTable().
bool MarkovRateTable::isRateConstant | ( | unsigned int | i, |
unsigned int | j | ||
) | const |
Definition at line 398 of file MarkovRateTable.cpp.
References isRate2d(), isRateZero(), and vtTables_.
Referenced by getVtChildTable(), innerSetInt2dChildTable(), innerSetVtChildTable(), lookup1dIndex(), lookup1dValue(), and ~MarkovRateTable().
bool MarkovRateTable::isRateLigandDep | ( | unsigned int | i, |
unsigned int | j | ||
) | const |
Definition at line 417 of file MarkovRateTable.cpp.
References isRate1d(), and useLigandConc_.
Referenced by updateRates().
bool MarkovRateTable::isRateZero | ( | unsigned int | i, |
unsigned int | j | ||
) | const |
Definition at line 393 of file MarkovRateTable.cpp.
References int2dTables_, and vtTables_.
Referenced by isRateConstant().
double MarkovRateTable::lookup1dIndex | ( | unsigned int | i, |
unsigned int | j, | ||
unsigned int | xIndex | ||
) |
Definition at line 299 of file MarkovRateTable.cpp.
References areIndicesOutOfBounds(), isRate1d(), isRateConstant(), and vtTables_.
Referenced by MarkovSolverBase::innerFillupTable().
double MarkovRateTable::lookup1dValue | ( | unsigned int | i, |
unsigned int | j, | ||
double | x | ||
) |
Definition at line 280 of file MarkovRateTable.cpp.
References areIndicesOutOfBounds(), isRate1d(), isRateConstant(), and vtTables_.
Referenced by initConstantRates(), MarkovSolverBase::innerFillupTable(), and updateRates().
double MarkovRateTable::lookup2dIndex | ( | unsigned int | i, |
unsigned int | j, | ||
unsigned int | xIndex, | ||
unsigned int | yIndex | ||
) |
Definition at line 339 of file MarkovRateTable.cpp.
References areIndicesOutOfBounds(), int2dTables_, and isRate2d().
Referenced by MarkovSolverBase::innerFillupTable().
double MarkovRateTable::lookup2dValue | ( | unsigned int | i, |
unsigned int | j, | ||
double | x, | ||
double | y | ||
) |
Definition at line 319 of file MarkovRateTable.cpp.
References areIndicesOutOfBounds(), int2dTables_, and isRate2d().
Referenced by updateRates().
Definition at line 608 of file MarkovRateTable.cpp.
References areAllRatesConstant(), instRatesOut(), Q_, and updateRates().
Referenced by initCinfo().
Definition at line 616 of file MarkovRateTable.cpp.
References initConstantRates(), instRatesOut(), isInitialized(), and Q_.
Referenced by initCinfo().
void MarkovRateTable::setConstantRate | ( | unsigned int | i, |
unsigned int | j, | ||
double | rate | ||
) |
Definition at line 685 of file MarkovRateTable.cpp.
References innerSetVtChildTable(), listOfConstantRates_, VectorTable::setDiv(), VectorTable::setMax(), VectorTable::setMin(), and VectorTable::setTable().
Referenced by initCinfo().
void MarkovRateTable::setInt2dChildTable | ( | unsigned int | i, |
unsigned int | j, | ||
Id | int2dTabId | ||
) |
Definition at line 670 of file MarkovRateTable.cpp.
References Eref::data(), Id::eref(), innerSetInt2dChildTable(), and listOf2dRates_.
Referenced by initCinfo().
void MarkovRateTable::setLigandConc | ( | double | ligandConc | ) |
Definition at line 388 of file MarkovRateTable.cpp.
References ligandConc_.
Referenced by initCinfo().
void MarkovRateTable::setVm | ( | double | Vm | ) |
Definition at line 378 of file MarkovRateTable.cpp.
References Vm_.
Referenced by initCinfo().
void MarkovRateTable::setVtChildTable | ( | unsigned int | i, |
unsigned int | j, | ||
Id | vecTabId, | ||
unsigned int | ligandFlag | ||
) |
Definition at line 654 of file MarkovRateTable.cpp.
References Eref::data(), Id::eref(), innerSetVtChildTable(), listOf1dRates_, listOfLigandRates_, and listOfVoltageRates_.
Referenced by initCinfo().
void MarkovRateTable::updateRates | ( | ) |
Definition at line 484 of file MarkovRateTable.cpp.
References doubleEq(), isRateLigandDep(), ligandConc_, listOf1dRates_, listOf2dRates_, lookup1dValue(), lookup2dValue(), Q_, and Vm_.
Referenced by process().
|
friend |
|
private |
Definition at line 176 of file MarkovRateTable.h.
Referenced by getInt2dChildTable(), init(), innerSetInt2dChildTable(), isRate2d(), isRateZero(), lookup2dIndex(), lookup2dValue(), operator>>(), and ~MarkovRateTable().
|
private |
Definition at line 200 of file MarkovRateTable.h.
Referenced by getLigandConc(), handleLigandConc(), operator>>(), setLigandConc(), and updateRates().
|
private |
Definition at line 187 of file MarkovRateTable.h.
Referenced by areAllRatesConstant(), areAnyRates1d(), getListOf1dRates(), setVtChildTable(), and updateRates().
|
private |
Definition at line 188 of file MarkovRateTable.h.
Referenced by areAllRatesConstant(), areAnyRates2d(), getListOf2dRates(), setInt2dChildTable(), and updateRates().
|
private |
Definition at line 189 of file MarkovRateTable.h.
Referenced by areAllRatesConstant(), getListOfConstantRates(), initConstantRates(), and setConstantRate().
|
private |
Definition at line 190 of file MarkovRateTable.h.
Referenced by areAnyRatesLigandDep(), getListOfLigandRates(), and setVtChildTable().
|
private |
Definition at line 191 of file MarkovRateTable.h.
Referenced by areAnyRatesVoltageDep(), getListOfVoltageRates(), and setVtChildTable().
|
private |
Definition at line 194 of file MarkovRateTable.h.
Referenced by getQ(), init(), initConstantRates(), process(), reinit(), and updateRates().
|
private |
Definition at line 207 of file MarkovRateTable.h.
Referenced by areIndicesOutOfBounds(), getSize(), init(), isInitialized(), operator>>(), and ~MarkovRateTable().
|
private |
Definition at line 181 of file MarkovRateTable.h.
Referenced by init(), innerSetVtChildTable(), isRateLigandDep(), and operator>>().
|
private |
Definition at line 199 of file MarkovRateTable.h.
Referenced by getVm(), handleVm(), operator>>(), setVm(), and updateRates().
|
private |
Definition at line 171 of file MarkovRateTable.h.
Referenced by getVtChildTable(), init(), innerSetVtChildTable(), isRate1d(), isRateConstant(), isRateZero(), lookup1dIndex(), lookup1dValue(), operator>>(), and ~MarkovRateTable().