MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu_CreateEpetraPreconditioner.hpp
Go to the documentation of this file.
1#ifndef MUELU_CREATE_EPETRA_PRECONDITIONER_HPP
2#define MUELU_CREATE_EPETRA_PRECONDITIONER_HPP
3
4#include <Epetra_CrsMatrix.h>
5#include <Epetra_MultiVector.h>
6
7#include <Teuchos_RCP.hpp>
8
9#include <MueLu.hpp>
10
12
15#if defined(HAVE_MUELU_EPETRA)
16namespace MueLu {
17
25 Teuchos::RCP<MueLu::EpetraOperator>
26 CreateEpetraPreconditioner(const Teuchos::RCP<Epetra_CrsMatrix>& inA,
27 // FIXME: why is it non-const
28 Teuchos::ParameterList& paramListIn);
29
37 Teuchos::RCP<MueLu::EpetraOperator>
38 CreateEpetraPreconditioner(const Teuchos::RCP<Epetra_CrsMatrix> & A,
39 const std::string& xmlFileName);
40
47 Teuchos::RCP<MueLu::EpetraOperator>
48 CreateEpetraPreconditioner(const Teuchos::RCP<Epetra_CrsMatrix> & A,
49 const std::string& xmlFileName);
50
51 void ReuseEpetraPreconditioner(const Teuchos::RCP<Epetra_CrsMatrix>& inA, MueLu::EpetraOperator& Op);
52
53
54} //namespace
55#endif // HAVE_MUELU_SERIAL and HAVE_MUELU_EPETRA
56
57#endif //ifndef MUELU_CREATE_EPETRA_PRECONDITIONER_HPP
Namespace for MueLu classes and methods.
void ReuseEpetraPreconditioner(const Teuchos::RCP< Epetra_CrsMatrix > &inA, MueLu::EpetraOperator &Op)
Teuchos::RCP< MueLu::EpetraOperator > CreateEpetraPreconditioner(const Teuchos::RCP< Epetra_CrsMatrix > &inA, Teuchos::ParameterList &paramListIn)
Helper function to create a MueLu preconditioner that can be used by Epetra.Given a EpetraCrs_Matrix,...