GEOSX
|
This class creates and provides basic support for AztecOO, Amesos and ML libraries. More...
#include <TrilinosSolver.hpp>
Public Member Functions | |
TrilinosSolver (LinearSolverParameters parameters) | |
Solver constructor, with parameter list reference. More... | |
~TrilinosSolver () | |
Virtual destructor. | |
void | solve (EpetraMatrix &mat, EpetraVector &sol, EpetraVector &rhs, DofManager const *const dofManager=nullptr) |
Solve system with an iterative solver. More... | |
LinearSolverResult const & | result () |
Get the result of previous solve. More... | |
This class creates and provides basic support for AztecOO, Amesos and ML libraries.
Definition at line 35 of file TrilinosSolver.hpp.
geosx::TrilinosSolver::TrilinosSolver | ( | LinearSolverParameters | parameters | ) |
Solver constructor, with parameter list reference.
[in] | parameters | structure containing linear solver parameters |
|
inline |
Get the result of previous solve.
Definition at line 70 of file TrilinosSolver.hpp.
void geosx::TrilinosSolver::solve | ( | EpetraMatrix & | mat, |
EpetraVector & | sol, | ||
EpetraVector & | rhs, | ||
DofManager const *const | dofManager = nullptr |
||
) |
Solve system with an iterative solver.
[in,out] | mat | the matrix |
[in,out] | sol | the solution |
[in,out] | rhs | the right-hand side |
dofManager | the Degree-of-Freedom manager associated with matrix |
Solve Ax=b with A an EpetraMatrix, x and b EpetraVector.