|
numerics 0.1.0
|
#include <tridiag_complex.hpp>
Public Types | |
| using | cplx = std::complex< double > |
Public Member Functions | |
| void | factor (int n_, cplx a_, cplx b_, cplx c_) |
| void | solve (std::vector< cplx > &d) const |
Public Attributes | |
| std::vector< cplx > | c_mod |
| std::vector< cplx > | inv_b |
| int | n = 0 |
| cplx | a_coeff = {} |
Definition at line 13 of file tridiag_complex.hpp.
| using num::ComplexTriDiag::cplx = std::complex<double> |
Definition at line 14 of file tridiag_complex.hpp.
Definition at line 5 of file tridiag_complex.cpp.
References a_coeff, c_mod, inv_b, and n.
Referenced by num::CrankNicolsonADI::CrankNicolsonADI().
| void num::ComplexTriDiag::solve | ( | std::vector< cplx > & | d | ) | const |
Definition at line 23 of file tridiag_complex.cpp.
References a_coeff, c_mod, inv_b, and n.
Referenced by num::CrankNicolsonADI::sweep().
| cplx num::ComplexTriDiag::a_coeff = {} |
Definition at line 19 of file tridiag_complex.hpp.
| std::vector<cplx> num::ComplexTriDiag::c_mod |
Definition at line 16 of file tridiag_complex.hpp.
| std::vector<cplx> num::ComplexTriDiag::inv_b |
Definition at line 17 of file tridiag_complex.hpp.
| int num::ComplexTriDiag::n = 0 |
Definition at line 18 of file tridiag_complex.hpp.