|
OPAL (Object Oriented Parallel Accelerator Library)
2024.1
OPAL
|
#include <Amesos2BottomSolver.h>


Public Types | |
| typedef amr::matrix_t | matrix_t |
| typedef amr::multivector_t | mv_t |
| typedef Amesos2::Solver < matrix_t, mv_t > | solver_t |
Public Member Functions | |
| Amesos2BottomSolver (std::string solvertype="klu2") | |
| void | solve (const Teuchos::RCP< mv_t > &x, const Teuchos::RCP< mv_t > &b) |
| void | setOperator (const Teuchos::RCP< matrix_t > &A, Level *level_p=nullptr) |
| std::size_t | getNumIters () |
Public Member Functions inherited from BottomSolver< Teuchos::RCP< amr::matrix_t >, Teuchos::RCP< amr::multivector_t >, Level > | |
| BottomSolver () | |
| virtual | ~BottomSolver () |
| virtual void | solve (const Teuchos::RCP< amr::multivector_t > &x, const Teuchos::RCP< amr::multivector_t > &b)=0 |
| virtual void | setOperator (const Teuchos::RCP< amr::matrix_t > &A, Level *level_p=nullptr)=0 |
| bool | hasOperator () const |
Private Attributes | |
| std::string | solvertype_m |
| kind of solver More... | |
| Teuchos::RCP< solver_t > | solver_mp |
| solver instance More... | |
Additional Inherited Members | |
Protected Attributes inherited from BottomSolver< Teuchos::RCP< amr::matrix_t >, Teuchos::RCP< amr::multivector_t >, Level > | |
| bool | isInitialized_m |
Definition at line 33 of file Amesos2BottomSolver.h.
| typedef amr::matrix_t Amesos2BottomSolver< Level >::matrix_t |
Definition at line 38 of file Amesos2BottomSolver.h.
| typedef amr::multivector_t Amesos2BottomSolver< Level >::mv_t |
Definition at line 39 of file Amesos2BottomSolver.h.
| typedef Amesos2::Solver<matrix_t, mv_t> Amesos2BottomSolver< Level >::solver_t |
Definition at line 41 of file Amesos2BottomSolver.h.
| Amesos2BottomSolver< Level >::Amesos2BottomSolver | ( | std::string | solvertype = "klu2" | ) |
|
virtual |
Implements BottomSolver< Teuchos::RCP< amr::matrix_t >, Teuchos::RCP< amr::multivector_t >, Level >.
Definition at line 60 of file Amesos2BottomSolver.hpp.
| void Amesos2BottomSolver< Level >::setOperator | ( | const Teuchos::RCP< matrix_t > & | A, |
| Level * | level_p = nullptr |
||
| ) |
| void Amesos2BottomSolver< Level >::solve | ( | const Teuchos::RCP< mv_t > & | x, |
| const Teuchos::RCP< mv_t > & | b | ||
| ) |
Definition at line 32 of file Amesos2BottomSolver.hpp.
|
private |
solver instance
Definition at line 63 of file Amesos2BottomSolver.h.
|
private |
kind of solver
Definition at line 61 of file Amesos2BottomSolver.h.
1.8.5