38 #ifndef AZTECOOPRECONDITIONER_HPP 39 #define AZTECOOPRECONDITIONER_HPP 1
41 #include <lifev/core/algorithm/SolverAztecOO.hpp> 42 #include <lifev/core/algorithm/Preconditioner.hpp> 104 virtual void showMe ( std::ostream& output = std::cout )
const;
170 return new PreconditionerAztecOO();
Int buildPreconditioner(operator_type &matrix)
Build the preconditioner.
Preconditioner * createPreconditionerAztecOO()
void createParametersList(list_Type &list, const GetPot &dataFile, const std::string §ion, const std::string &subSection)
Create the list of parameters of the preconditioner.
void setDataFromGetPot(const GetPot &dataFile, const std::string §ion)
Set the data of the preconditioner using a GetPot object.
void resetPreconditioner()
Reset the preconditioner.
SolverAztecOO - Class to wrap linear solver.
Real condest()
Compute the condition number of the preconditioner.
int32_type Int
Generic integer data.
void updateInverseJacobian(const UInt &iQuadPt)
static const LifeV::UInt elm_nodes_num[]
PreconditionerAztecOO - The implementation of Preconditioner for AztecOO preconditioners.
SolverAztecOO Solver_Type
Epetra_Operator prec_raw_type
static bool registerAztecOO
std::string preconditionerType()
Return the name of the preconditioner.
PreconditionerAztecOO()
Constructor.
MatrixEpetra< Real > operator_raw_type
void setSolver(SolverAztecOO &solver)
Set the external solver (AztecOO)
double Real
Generic real data.
Teuchos::ParameterList list_Type
Preconditioner - Abstract preconditioner class.
std::shared_ptr< prec_raw_type > prec_type
super::prec_raw_type * preconditioner()
Return the pointer to the preconditioner.
super::prec_type preconditionerPtr()
Return the shared pointer to the preconditioner.
virtual void showMe(std::ostream &output=std::cout) const
Show informations about the preconditioner.
std::shared_ptr< operator_raw_type > operator_type
virtual ~PreconditionerAztecOO()
Destructor.