#include <BelosDenseSolver.hpp>
|
| | DenseSolver () |
| | Default constructor; matrix should be set using setMatrix(), LHS and RHS set with setVectors().
|
| virtual | ~DenseSolver () |
| | SerialDenseSolver destructor.
|
| virtual int | setMatrix (const Teuchos::RCP< DM > &A) |
| | Sets the pointers for coefficient matrix.
|
| virtual int | setVectors (const Teuchos::RCP< DM > &X, const Teuchos::RCP< DM > &B) |
| | Sets the pointers for left and right hand side vector(s).
|
| void | setSPD (bool flag) |
| void | factorWithEquilibration (bool flag) |
| | Causes equilibration to be called just before the matrix factorization as part of the call to factor.
|
| void | solveWithTransposeFlag (Teuchos::ETransp trans) |
| | All subsequent function calls will work with the transpose-type set by this method (Teuchos::NO_TRANS, Teuchos::TRANS, and Teuchos::CONJ_TRANS).
|
|
| bool | spd_ |
| bool | equilibrate_ |
| Teuchos::ETransp | TRANS_ |
| bool | newMatrix_ |
| Teuchos::RCP< DM > | A_ |
| Teuchos::RCP< DM > | X_ |
| Teuchos::RCP< DM > | B_ |
| virtual int | factor ()=0 |
| | Computes the in-place LU factorization of the matrix.
|
| virtual int | solve ()=0 |
| | Computes the solution X to AX = B for the this matrix and the B provided.
|
template<class ScalarType, class DM>
class Belos::DenseSolver< ScalarType, DM >
Definition at line 23 of file BelosDenseSolver.hpp.
◆ DenseSolver()
template<class ScalarType, class DM>
◆ ~DenseSolver()
template<class ScalarType, class DM>
◆ setMatrix()
template<class ScalarType, class DM>
| virtual int Belos::DenseSolver< ScalarType, DM >::setMatrix |
( |
const Teuchos::RCP< DM > & | A | ) |
|
|
inlinevirtual |
◆ setVectors()
template<class ScalarType, class DM>
| virtual int Belos::DenseSolver< ScalarType, DM >::setVectors |
( |
const Teuchos::RCP< DM > & | X, |
|
|
const Teuchos::RCP< DM > & | B ) |
|
inlinevirtual |
Sets the pointers for left and right hand side vector(s).
Row dimension of X must match column dimension of matrix A, row dimension of B must match row dimension of A. X and B must have the same dimensions.
Definition at line 51 of file BelosDenseSolver.hpp.
◆ setSPD()
template<class ScalarType, class DM>
Set if dense matrix is symmetric positive definite
- Note
- This method must be called before the factorization is performed, otherwise it will have no effect.
Definition at line 59 of file BelosDenseSolver.hpp.
◆ factorWithEquilibration()
template<class ScalarType, class DM>
Causes equilibration to be called just before the matrix factorization as part of the call to factor.
- Note
- This method must be called before the factorization is performed, otherwise it will have no effect.
Definition at line 64 of file BelosDenseSolver.hpp.
◆ solveWithTransposeFlag()
template<class ScalarType, class DM>
| void Belos::DenseSolver< ScalarType, DM >::solveWithTransposeFlag |
( |
Teuchos::ETransp | trans | ) |
|
|
inline |
All subsequent function calls will work with the transpose-type set by this method (Teuchos::NO_TRANS, Teuchos::TRANS, and Teuchos::CONJ_TRANS).
- Note
- This interface will set correct transpose flag for matrix, including complex-valued linear systems.
Definition at line 69 of file BelosDenseSolver.hpp.
◆ factor()
template<class ScalarType, class DM>
◆ solve()
template<class ScalarType, class DM>
◆ spd_
template<class ScalarType, class DM>
◆ equilibrate_
template<class ScalarType, class DM>
◆ TRANS_
template<class ScalarType, class DM>
◆ newMatrix_
template<class ScalarType, class DM>
◆ A_
template<class ScalarType, class DM>
◆ X_
template<class ScalarType, class DM>
◆ B_
template<class ScalarType, class DM>
The documentation for this class was generated from the following file: