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