1 #include <lifev/core/linear_algebra/AztecooOperatorAlgebra.hpp> 13 M_name =
"AztecooOperatorAlgebra";
20 M_linSolver->SetUserOperator( M_oper.get());
21 M_linSolver->SetParameters(*M_pList);
22 M_linSolver->SetRHS(&Xcopy);
23 M_linSolver->SetLHS(&Y);
25 EPETRA_CHK_ERR(M_linSolver->SetPrecOperator( (Epetra_Operator*) M_prec.get()) );
27 int maxIter( M_pList->get<
int>(
"max_iter"));
28 double tol( M_pList->get<
double>(
"tol"));
30 return M_linSolver->Iterate(maxIter, tol);
InvertibleOperator interface to AztecOO in Trilinos. AztecooOperator will use the matrix-free Krylov ...
void updateInverseJacobian(const UInt &iQuadPt)
Abstract class which defines the interface of an Invertible Linear Operator Algebra.
Epetra_MultiVector vector_Type
virtual int doApplyInverse(const vector_Type &X, vector_Type &Y) const