LifeV
MLPreconditioner.hpp
Go to the documentation of this file.
1 /*
2  * MLPreconditioner.hpp
3  *
4  * Created on: Oct 8, 2011
5  * Author: uvilla
6  */
7 
8 /*!
9  * \file MLPreconditoner.hpp
10  * \author Umberto Villa
11  * \date 2011-10-08
12  * Interface to the ML preconditioners in Trilinos. This interface requires the user to provide
13  * a matrix in Epetra_CrsFormat and the parameters of the factorization.
14  */
15 
16 #ifndef MLPRECONDITIONER_HPP_
17 #define MLPRECONDITIONER_HPP_
18 
19 #include <lifev/core/linear_algebra/RowMatrixPreconditioner.hpp>
20 
21 namespace LifeV
22 {
23 
24 namespace Operators
25 {
26 //! @class
27 /*!
28  * @brief Interface to the ML preconditioners in Trilinos.
29  *
30  * This class inherit from \c RowMatrixPreconditioner and it implements its abstract protected methods.
31  * An \c MLPreconditioner object should be allocated by using the \c RowMatrixPreconditionerFactory factory.
32  */
34 {
35 public:
37  virtual ~MLPreconditioner();
38 
39 protected:
40  int myCompute();
41 
42 };
43 
44 //! @fn
45 /* !
46  * @brief helper function for the \c RowMatrixPreconditionerFactory factory.
47  */
49 namespace
50 {
52 }
53 
54 
55 }
56 
57 }
58 
59 #endif /* MLPRECONDITIONER_HPP_ */
void updateInverseJacobian(const UInt &iQuadPt)
int myCompute()
Abstract method myCompute implemented by the derived class.
RowMatrixPreconditioner * createML()
Interface to the ML preconditioners in Trilinos.
Abstract class to construct preconditioners from a matrix in Epetra_CsrFormat.