32 m_mat(row, col) = value;
40 for (
size_t n = 0; n <
m_dim; n++) {
size_t nSubDiagonals() const
Number of subdiagonals.
void resize(size_t n, size_t kl, size_t ku, double v=0.0)
Resize the matrix problem.
void bfill(double v=0.0)
Fill or zero the matrix.
size_t nSuperDiagonals() const
Number of superdiagonals.
double & value(size_t i, size_t j)
Return a changeable reference to element (i,j).
BandMatrix m_mat
Underlying matrix storage.
void setBandwidth(size_t bw) override
Used to provide system bandwidth for implementations that use banded matrix storage.
void setValue(size_t row, size_t col, double value) override
Set a value at the specified row and column of the jacobian triplet vector.
void factorize() override
Factorize the system matrix.
vector< double > m_ssdiag
Diagonal of the steady-state Jacobian.
void reset() override
Reset parameters as needed.
void updateTransient(double rdt, integer *mask) override
Update the diagonal terms in the Jacobian by using the transient mask .
void initialize(size_t nVars) override
Called during setup for any processes that need to be completed prior to setup functions used in sund...
size_t m_dim
Dimension of the system.
int m_age
Age of the Jacobian (times incrementAge() has been called)
Namespace for the Cantera kernel.