|
Mushy Layer
1.0
|
Class for describing the matrix. More...
#include <ChomboSpline.h>
Public Member Functions | |
| band_matrix () | |
| constructor | |
| band_matrix (int dim, int n_u, int n_l) | |
| destructor | |
| ~band_matrix () | |
| destructor | |
| void | resize (int dim, int n_u, int n_l) |
| init with dim,n_u,n_l | |
| int | dim () const |
| matrix dimension | |
| int | num_upper () const |
| num upper | |
| int | num_lower () const |
| num lower | |
| Real & | operator() (int i, int j) |
| write access operator | |
| Real | operator() (int i, int j) const |
| read access operator | |
| Real & | saved_diag (int i) |
| we can store an additional diagonal (in m_lower) | |
| Real | saved_diag (int i) const |
| we can store an additional diagonal (in m_lower) | |
| void | lu_decompose () |
| lu decomposition | |
| std::vector< Real > | r_solve (const std::vector< Real > &b) const |
| r solve | |
| std::vector< Real > | l_solve (const std::vector< Real > &b) const |
| l solve | |
| std::vector< Real > | lu_solve (const std::vector< Real > &b, bool is_lu_decomposed=false) |
| lu solve | |
Class for describing the matrix.
1.8.13