NUMCXX
0.13.20181108
Numerical library for small projects and teaching purposes
|
Jacobi preconditioner class.
Definition at line 16 of file tprecon-jacobi.hxx.
Public Member Functions | |
TPreconJacobi (const std::shared_ptr< TSparseMatrix< T >> pA) | |
Create Preconditioner. More... | |
TPreconJacobi (TSparseMatrix< T > &A) | |
~TPreconJacobi () | |
void | update (TSparseMatrix< T > &A) |
Perform actual computation preconditioner. More... | |
void | solve (TArray< T > &Sol, const TArray< T > &Rhs) const |
Solve preconditioning system. More... | |
virtual void | update (void) |
Static Public Member Functions | |
static std::shared_ptr< TPreconJacobi< T > > | create (const std::shared_ptr< TSparseMatrix< T >> pA) |
Create preconditioner. More... | |
Public Attributes | |
std::shared_ptr< TArray1< T > > | pInvDiag |
|
inline |
Create Preconditioner.
Create LU factorization class.
Definition at line 7 of file tprecon-jacobi.ixx.
|
inline |
Definition at line 14 of file tprecon-jacobi.ixx.
|
inline |
|
inlinestatic |
Create preconditioner.
Create LU factorization class.
Definition at line 23 of file tprecon-jacobi.ixx.
|
inline |
Perform actual computation preconditioner.
Perform actual computation of LU factorization.
Definition at line 30 of file tprecon-jacobi.ixx.
|
inlinevirtual |
Solve preconditioning system.
Solve LU factorized system.
Reimplemented from numcxx::TLinSolver< T >.
Definition at line 43 of file tprecon-jacobi.ixx.
|
inlinevirtualinherited |
Reimplemented in numcxx::TSolverUMFPACK< T >, and numcxx::TSolverLapackLU< T >.
Definition at line 280 of file tarray.hxx.
std::shared_ptr< TArray1<T> > numcxx::TPreconJacobi< T >::pInvDiag |
Definition at line 20 of file tprecon-jacobi.hxx.