Actez solver class.
This class wraps the Trilinos Actez solver package
|
|
| AztecSolver (const SparseMatrix &A, const int solver=AztecSolvers::Gmres, const int precond=AztecPreconds::None, const int subdomain_solver=AztecSubdomainSolvers::ILUT) |
| | Constructor (sparse matrix)
|
| |
|
std::string | currentParams () const |
| | Returns current parameters.
|
| |
|
void | getSolution (gsVector< real_t > &sol, const int rank=0) const |
| | Returns solution vector.
|
| |
|
int | numIterations () const |
| | Returns number of iterations.
|
| |
| void | set (const int &option, const int &value) |
| | Sets parameters/options for for Aztec solver directly.
|
| |
|
void | set (const int ¶m, const double &value) |
| | Sets Aztec parameter directly.
|
| |
|
void | set (const std::string &name, const bool &value) |
| | Sets bool parameters.
|
| |
|
void | set (const std::string &name, const double &value) |
| | Sets double parameters.
|
| |
| void | set (const std::string &name, const int &value) |
| | Sets parameters.
|
| |
|
void | set (const std::string &name, const std::string &value) |
| | Sets string parameters.
|
| |
| void | setOptions (const gsOptionList &opt) |
| | Set parameters from option list.
|
| |
| void | setPreconditioner (const BelosSolver &Belos) |
| | Sets Belos solver as preconditioner.
|
| |
| void | setPreconditioner (const MLSolver &ML) |
| | Sets ML solver as preconditioner.
|
| |
|
const Vector & | solve (const Vector &b) |
| | Solves problem for the given a right-hand side vector.
|
| |
| std::string | status () const |
| | Returns status and timing of solver.
|
| |
|
std::string | timing () const |
| | Returns timing of the solver.
|
| |
| std::string | validParams () const |
| | Returns information about parameters.
|
| |
|
| ~AztecSolver () |
| | Destructor.
|
| |