MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <MarkovSolverBase.h>
Public Member Functions | |
Vector * | bilinearInterpolate () const |
virtual Matrix * | computeMatrixExponential () |
void | computeState () |
void | fillupTable () |
Vector | getInitialState () const |
double | getInvDx () const |
double | getInvDy () const |
Matrix | getQ () const |
Vector | getState () const |
unsigned int | getXdivs () const |
double | getXmax () const |
double | getXmin () const |
unsigned int | getYdivs () const |
double | getYmax () const |
double | getYmin () const |
void | handleLigandConc (double) |
void | handleVm (double) |
void | init (Id, double) |
void | innerFillupTable (vector< unsigned int >, string, unsigned int, unsigned int) |
Vector * | linearInterpolate () const |
MarkovSolverBase () | |
void | process (const Eref &, ProcPtr) |
void | reinit (const Eref &, ProcPtr) |
void | setInitialState (Vector) |
void | setXdivs (unsigned int) |
void | setXmax (double) |
void | setXmin (double) |
void | setYdivs (unsigned int) |
void | setYmax (double) |
void | setYmin (double) |
virtual | ~MarkovSolverBase () |
Static Public Member Functions | |
static const Cinfo * | initCinfo () |
Protected Attributes | |
Matrix * | Q_ |
Private Member Functions | |
void | setLookupParams () |
Private Attributes | |
double | dt_ |
Matrix * | expMat_ |
vector< Matrix * > | expMats1d_ |
vector< vector< Matrix * > > | expMats2d_ |
Vector | initialState_ |
double | invDx_ |
double | invDy_ |
double | ligandConc_ |
MarkovRateTable * | rateTable_ |
unsigned int | size_ |
Vector | state_ |
double | Vm_ |
unsigned int | xDivs_ |
double | xMax_ |
double | xMin_ |
unsigned int | yDivs_ |
double | yMax_ |
double | yMin_ |
Definition at line 51 of file MarkovSolverBase.h.
MarkovSolverBase::MarkovSolverBase | ( | ) |
Definition at line 189 of file MarkovSolverBase.cpp.
|
virtual |
Definition at line 197 of file MarkovSolverBase.cpp.
References expMat_, expMats1d_, expMats2d_, and Q_.
Vector * MarkovSolverBase::bilinearInterpolate | ( | ) | const |
Definition at line 317 of file MarkovSolverBase.cpp.
References expMats2d_, invDx_, invDy_, ligandConc_, state_, vecMatMul(), vecVecScalAdd(), Vm_, xDivs_, xMin_, yDivs_, and yMin_.
Referenced by computeState().
|
virtual |
Reimplemented in MarkovSolver.
Definition at line 600 of file MarkovSolverBase.cpp.
Referenced by fillupTable().
void MarkovSolverBase::computeState | ( | ) |
Definition at line 463 of file MarkovSolverBase.cpp.
References MarkovRateTable::areAllRates1d(), MarkovRateTable::areAnyRates2d(), MarkovRateTable::areAnyRatesLigandDep(), MarkovRateTable::areAnyRatesVoltageDep(), bilinearInterpolate(), linearInterpolate(), rateTable_, and state_.
Referenced by process().
void MarkovSolverBase::fillupTable | ( | ) |
Definition at line 524 of file MarkovSolverBase.cpp.
References MarkovRateTable::areAllRates1d(), MarkovRateTable::areAllRatesConstant(), MarkovRateTable::areAllRatesLigandDep(), MarkovRateTable::areAllRatesVoltageDep(), MarkovRateTable::areAnyRates2d(), MarkovRateTable::areAnyRatesLigandDep(), MarkovRateTable::areAnyRatesVoltageDep(), computeMatrixExponential(), expMat_, expMats1d_, expMats2d_, MarkovRateTable::getListOf1dRates(), MarkovRateTable::getListOf2dRates(), MarkovRateTable::getListOfConstantRates(), MarkovRateTable::getListOfLigandRates(), MarkovRateTable::getListOfVoltageRates(), innerFillupTable(), rateTable_, xDivs_, xMax_, xMin_, yDivs_, yMax_, and yMin_.
Referenced by init().
Vector MarkovSolverBase::getInitialState | ( | ) | const |
Definition at line 238 of file MarkovSolverBase.cpp.
References initialState_.
Referenced by initCinfo().
double MarkovSolverBase::getInvDx | ( | ) | const |
Definition at line 278 of file MarkovSolverBase.cpp.
References invDx_.
Referenced by initCinfo().
double MarkovSolverBase::getInvDy | ( | ) | const |
Definition at line 312 of file MarkovSolverBase.cpp.
References invDy_.
Referenced by initCinfo().
Matrix MarkovSolverBase::getQ | ( | ) | const |
Definition at line 228 of file MarkovSolverBase.cpp.
References Q_.
Referenced by initCinfo().
Vector MarkovSolverBase::getState | ( | ) | const |
Definition at line 233 of file MarkovSolverBase.cpp.
References state_.
Referenced by initCinfo().
unsigned int MarkovSolverBase::getXdivs | ( | ) | const |
Definition at line 274 of file MarkovSolverBase.cpp.
References xDivs_.
Referenced by initCinfo().
double MarkovSolverBase::getXmax | ( | ) | const |
Definition at line 264 of file MarkovSolverBase.cpp.
References xMax_.
Referenced by initCinfo().
double MarkovSolverBase::getXmin | ( | ) | const |
Definition at line 254 of file MarkovSolverBase.cpp.
References xMin_.
Referenced by initCinfo().
unsigned int MarkovSolverBase::getYdivs | ( | ) | const |
Definition at line 307 of file MarkovSolverBase.cpp.
References yDivs_.
Referenced by initCinfo().
double MarkovSolverBase::getYmax | ( | ) | const |
Definition at line 297 of file MarkovSolverBase.cpp.
References yMax_.
Referenced by initCinfo().
double MarkovSolverBase::getYmin | ( | ) | const |
Definition at line 287 of file MarkovSolverBase.cpp.
References yMin_.
Referenced by initCinfo().
void MarkovSolverBase::handleLigandConc | ( | double | ligandConc | ) |
Definition at line 634 of file MarkovSolverBase.cpp.
References ligandConc_.
Referenced by initCinfo().
void MarkovSolverBase::handleVm | ( | double | Vm | ) |
Definition at line 629 of file MarkovSolverBase.cpp.
References Vm_.
Referenced by initCinfo().
void MarkovSolverBase::init | ( | Id | rateTableId, |
double | dt | ||
) |
Definition at line 641 of file MarkovSolverBase.cpp.
References MarkovRateTable::areAllRates1d(), MarkovRateTable::areAllRatesLigandDep(), MarkovRateTable::areAllRatesVoltageDep(), MarkovRateTable::areAnyRates2d(), MarkovRateTable::areAnyRatesLigandDep(), MarkovRateTable::areAnyRatesVoltageDep(), Eref::data(), dt_, Id::eref(), expMat_, expMats1d_, expMats2d_, fillupTable(), MarkovRateTable::getSize(), matAlloc(), Q_, rateTable_, resize(), setLookupParams(), size_, xDivs_, and yDivs_.
Referenced by initCinfo().
|
static |
Definition at line 28 of file MarkovSolverBase.cpp.
References getInitialState(), getInvDx(), getInvDy(), getQ(), getState(), getXdivs(), getXmax(), getXmin(), getYdivs(), getYmax(), getYmin(), handleLigandConc(), handleVm(), init(), Neutral::initCinfo(), markovSolverBaseCinfo, process(), reinit(), setInitialState(), setXdivs(), setXmax(), setXmin(), setYdivs(), setYmax(), setYmin(), and stateOut().
Referenced by MarkovSolver::initCinfo().
void MarkovSolverBase::innerFillupTable | ( | vector< unsigned int > | , |
string | , | ||
unsigned | int, | ||
unsigned | int | ||
) |
Definition at line 496 of file MarkovSolverBase.cpp.
References dt_, MarkovRateTable::lookup1dIndex(), MarkovRateTable::lookup1dValue(), MarkovRateTable::lookup2dIndex(), Q_, and rateTable_.
Referenced by fillupTable().
Vector * MarkovSolverBase::linearInterpolate | ( | ) | const |
Definition at line 419 of file MarkovSolverBase.cpp.
References MarkovRateTable::areAllRatesVoltageDep(), expMats1d_, invDx_, ligandConc_, rateTable_, state_, vecMatMul(), vecVecScalAdd(), Vm_, xMax_, and xMin_.
Referenced by computeState().
Definition at line 622 of file MarkovSolverBase.cpp.
References computeState(), state_, and stateOut().
Referenced by initCinfo(), and MarkovSolver::process().
Definition at line 609 of file MarkovSolverBase.cpp.
References initialState_, state_, and stateOut().
Referenced by initCinfo(), and MarkovSolver::reinit().
void MarkovSolverBase::setInitialState | ( | Vector | state | ) |
Definition at line 243 of file MarkovSolverBase.cpp.
References initialState_, and state_.
Referenced by initCinfo().
|
private |
Definition at line 697 of file MarkovSolverBase.cpp.
References MarkovRateTable::areAllRates1d(), MarkovRateTable::areAllRatesLigandDep(), MarkovRateTable::areAnyRates1d(), MarkovRateTable::areAnyRates2d(), VectorTable::getDiv(), MarkovRateTable::getInt2dChildTable(), MarkovRateTable::getListOf2dRates(), MarkovRateTable::getListOfLigandRates(), MarkovRateTable::getListOfVoltageRates(), VectorTable::getMax(), VectorTable::getMin(), MarkovRateTable::getVtChildTable(), Interpol2D::getXdivs(), Interpol2D::getXmax(), Interpol2D::getXmin(), Interpol2D::getYdivs(), Interpol2D::getYmax(), Interpol2D::getYmin(), invDx_, invDy_, rateTable_, xDivs_, xMax_, xMin_, yDivs_, yMax_, and yMin_.
Referenced by init().
void MarkovSolverBase::setXdivs | ( | unsigned int | xDivs | ) |
Definition at line 269 of file MarkovSolverBase.cpp.
References xDivs_.
Referenced by initCinfo().
void MarkovSolverBase::setXmax | ( | double | xMax | ) |
Definition at line 259 of file MarkovSolverBase.cpp.
References xMax_.
Referenced by initCinfo().
void MarkovSolverBase::setXmin | ( | double | xMin | ) |
Definition at line 249 of file MarkovSolverBase.cpp.
References xMin_.
Referenced by initCinfo().
void MarkovSolverBase::setYdivs | ( | unsigned int | yDivs | ) |
Definition at line 302 of file MarkovSolverBase.cpp.
References yDivs_.
Referenced by initCinfo().
void MarkovSolverBase::setYmax | ( | double | yMax | ) |
Definition at line 292 of file MarkovSolverBase.cpp.
References yMax_.
Referenced by initCinfo().
void MarkovSolverBase::setYmin | ( | double | yMin | ) |
Definition at line 282 of file MarkovSolverBase.cpp.
References yMin_.
Referenced by initCinfo().
|
private |
Definition at line 211 of file MarkovSolverBase.h.
Referenced by init(), and innerFillupTable().
|
private |
Definition at line 172 of file MarkovSolverBase.h.
Referenced by fillupTable(), init(), and ~MarkovSolverBase().
|
private |
Definition at line 170 of file MarkovSolverBase.h.
Referenced by fillupTable(), init(), linearInterpolate(), and ~MarkovSolverBase().
|
private |
Definition at line 175 of file MarkovSolverBase.h.
Referenced by bilinearInterpolate(), fillupTable(), init(), and ~MarkovSolverBase().
|
private |
Definition at line 198 of file MarkovSolverBase.h.
Referenced by getInitialState(), reinit(), and setInitialState().
|
private |
Definition at line 179 of file MarkovSolverBase.h.
Referenced by bilinearInterpolate(), getInvDx(), linearInterpolate(), and setLookupParams().
|
private |
Definition at line 183 of file MarkovSolverBase.h.
Referenced by bilinearInterpolate(), getInvDy(), and setLookupParams().
|
private |
Definition at line 207 of file MarkovSolverBase.h.
Referenced by bilinearInterpolate(), handleLigandConc(), and linearInterpolate().
|
protected |
Definition at line 130 of file MarkovSolverBase.h.
Referenced by MarkovSolver::computeMatrixExponential(), getQ(), init(), innerFillupTable(), and ~MarkovSolverBase().
|
private |
Definition at line 192 of file MarkovSolverBase.h.
Referenced by computeState(), fillupTable(), init(), innerFillupTable(), linearInterpolate(), and setLookupParams().
|
private |
Definition at line 202 of file MarkovSolverBase.h.
Referenced by init().
|
private |
Definition at line 195 of file MarkovSolverBase.h.
Referenced by bilinearInterpolate(), computeState(), getState(), linearInterpolate(), process(), reinit(), and setInitialState().
|
private |
Definition at line 205 of file MarkovSolverBase.h.
Referenced by bilinearInterpolate(), handleVm(), and linearInterpolate().
|
private |
Definition at line 180 of file MarkovSolverBase.h.
Referenced by bilinearInterpolate(), fillupTable(), getXdivs(), init(), setLookupParams(), and setXdivs().
|
private |
Definition at line 178 of file MarkovSolverBase.h.
Referenced by fillupTable(), getXmax(), linearInterpolate(), setLookupParams(), and setXmax().
|
private |
Definition at line 177 of file MarkovSolverBase.h.
Referenced by bilinearInterpolate(), fillupTable(), getXmin(), linearInterpolate(), setLookupParams(), and setXmin().
|
private |
Definition at line 184 of file MarkovSolverBase.h.
Referenced by bilinearInterpolate(), fillupTable(), getYdivs(), init(), setLookupParams(), and setYdivs().
|
private |
Definition at line 182 of file MarkovSolverBase.h.
Referenced by fillupTable(), getYmax(), setLookupParams(), and setYmax().
|
private |
Definition at line 181 of file MarkovSolverBase.h.
Referenced by bilinearInterpolate(), fillupTable(), getYmin(), setLookupParams(), and setYmin().