#include <HinesMatrix.h>
Public Member Functions | |
HinesMatrix () | |
void | setup (const vector< TreeNodeStruct > &tree, double dt) |
unsigned int | getSize () const |
double | getA (unsigned int row, unsigned int col) const |
double | getB (unsigned int row) const |
double | getVMid (unsigned int row) const |
Protected Types | |
typedef vector< double >::iterator | vdIterator |
Protected Attributes | |
unsigned int | nCompt_ |
double | dt_ |
vector< JunctionStruct > | junction_ |
vector< double > | HS_ |
vector< double > | HJ_ |
vector< double > | HJCopy_ |
vector< double > | VMid_ |
middle of a time step. | |
vector< vdIterator > | operand_ |
vector< vdIterator > | backOperand_ |
int | stage_ |
reached. Used in getA. |
typedef vector< double >::iterator HinesMatrix::vdIterator [protected] |
HinesMatrix::HinesMatrix | ( | ) |
double HinesMatrix::getA | ( | unsigned int | row, | |
unsigned int | col | |||
) | const |
References HJ_, HS_, and stage_.
Referenced by operator<<().
double HinesMatrix::getB | ( | unsigned int | row | ) | const |
References HS_.
Referenced by operator<<().
unsigned int HinesMatrix::getSize | ( | ) | const |
Referenced by operator<<().
double HinesMatrix::getVMid | ( | unsigned int | row | ) | const |
References VMid_.
Referenced by operator<<().
void HinesMatrix::setup | ( | const vector< TreeNodeStruct > & | tree, | |
double | dt | |||
) |
vector< vdIterator > HinesMatrix::backOperand_ [protected] |
Referenced by HSolvePassive::backwardSubstitute().
double HinesMatrix::dt_ [protected] |
Referenced by HSolvePassive::setup().
vector< double > HinesMatrix::HJ_ [protected] |
Hines, junctions. Flattened array containing the off-diagonal elements of the Hines matrix
Referenced by getA(), and HSolvePassive::updateMatrix().
vector< double > HinesMatrix::HJCopy_ [protected] |
Referenced by HSolvePassive::updateMatrix().
vector< double > HinesMatrix::HS_ [protected] |
Hines, series. Flattened array containing the tridiagonal of the approximately tridiagonal Hines matrix, stacked against the column vector "b" that appears on the RHS of the equation that we're trying to solve: Ax=b.
Referenced by HSolvePassive::backwardSubstitute(), HSolvePassive::forwardEliminate(), getA(), getB(), and HSolvePassive::updateMatrix().
vector< JunctionStruct > HinesMatrix::junction_ [protected] |
Referenced by HSolvePassive::backwardSubstitute(), and HSolvePassive::forwardEliminate().
unsigned int HinesMatrix::nCompt_ [protected] |
Referenced by HSolve::addInject(), HSolve::getIm(), HSolve::getInject(), HSolve::setInject(), and HSolveActive::step().
vector< vdIterator > HinesMatrix::operand_ [protected] |
Referenced by HSolvePassive::backwardSubstitute(), and HSolvePassive::forwardEliminate().
int HinesMatrix::stage_ [protected] |
reached. Used in getA.
Which stage the simulation has
Referenced by HSolvePassive::backwardSubstitute(), HSolvePassive::forwardEliminate(), getA(), and HSolvePassive::updateMatrix().
vector< double > HinesMatrix::VMid_ [protected] |
middle of a time step.
Compartment voltage at the
Referenced by HSolvePassive::backwardSubstitute(), and getVMid().