#include <HSolvePassive.h>
Public Member Functions | |
void | setup (Id seed, double dt) |
void | solve () |
Protected Member Functions | |
void | updateMatrix () |
void | forwardEliminate () |
void | backwardSubstitute () |
Protected Attributes | |
vector< CompartmentStruct > | compartment_ |
vector< Id > | compartmentId_ |
vector< double > | V_ |
vector< TreeNodeStruct > | tree_ |
map< unsigned int, InjectStruct > | inject_ |
void HSolvePassive::backwardSubstitute | ( | ) | [protected] |
References HinesMatrix::backOperand_, HinesMatrix::HS_, HinesMatrix::junction_, HinesMatrix::operand_, HinesMatrix::stage_, V_, and HinesMatrix::VMid_.
Referenced by solve(), and HSolveActive::step().
void HSolvePassive::forwardEliminate | ( | ) | [protected] |
References HinesMatrix::HS_, HinesMatrix::junction_, HinesMatrix::operand_, and HinesMatrix::stage_.
Referenced by solve(), and HSolveActive::step().
void HSolvePassive::setup | ( | Id | seed, | |
double | dt | |||
) |
Reimplemented in HSolveActive.
References HinesMatrix::dt_, and tree_.
void HSolvePassive::solve | ( | ) |
References backwardSubstitute(), forwardEliminate(), and updateMatrix().
void HSolvePassive::updateMatrix | ( | ) | [protected] |
References compartment_, HinesMatrix::HJ_, HinesMatrix::HJCopy_, HinesMatrix::HS_, inject_, InjectStruct::injectBasal, InjectStruct::injectVarying, HinesMatrix::stage_, and V_.
Referenced by solve().
vector< CompartmentStruct > HSolvePassive::compartment_ [protected] |
Referenced by HSolve::getIm(), and updateMatrix().
vector< Id > HSolvePassive::compartmentId_ [protected] |
map< unsigned int, InjectStruct > HSolvePassive::inject_ [protected] |
inject map. contains the list of compartments that have current injections into them.
Referenced by HSolve::addInject(), HSolve::getInject(), HSolve::setInject(), and updateMatrix().
vector< TreeNodeStruct > HSolvePassive::tree_ [protected] |
Tree info. The tree is used to acquire various values during setup. It contains the user-defined original values of all compartment parameters. Therefore, it is also used during reinit.
Reimplemented from HinesMatrix.
Referenced by HSolve::getCm(), HSolve::getEm(), HSolve::getIm(), HSolve::getInitVm(), HSolve::getRa(), HSolve::getRm(), HSolve::setCm(), HSolve::setEm(), HSolve::setInitVm(), HSolve::setRa(), HSolve::setRm(), and setup().
vector< double > HSolvePassive::V_ [protected] |
Compartment Vm. V_ is addressed using a compartment index. V_ stores the Vm value of each compartment.
Referenced by backwardSubstitute(), HSolve::getIk(), HSolve::getIm(), HSolve::getVm(), HSolve::setVm(), and updateMatrix().