MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu_CreateEpetraPreconditioner.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // MueLu: A package for multigrid based preconditioning
4 //
5 // Copyright 2012 NTESS and the MueLu contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef MUELU_CREATE_EPETRA_PRECONDITIONER_HPP
11 #define MUELU_CREATE_EPETRA_PRECONDITIONER_HPP
12 
13 #include <Epetra_CrsMatrix.h>
14 #include <Epetra_MultiVector.h>
15 
16 #include <Teuchos_RCP.hpp>
17 
18 #include <MueLu.hpp>
19 
20 #include <MueLu_EpetraOperator.hpp>
21 
24 #if defined(HAVE_MUELU_EPETRA)
25 namespace MueLu {
26 
36  // FIXME: why is it non-const
37  Teuchos::ParameterList& paramListIn);
38 
48  const std::string& xmlFileName);
49 
58  const std::string& xmlFileName);
59 
60 void ReuseEpetraPreconditioner(const Teuchos::RCP<Epetra_CrsMatrix>& inA, MueLu::EpetraOperator& Op);
61 
62 } // namespace MueLu
63 #endif // HAVE_MUELU_SERIAL and HAVE_MUELU_EPETRA
64 
65 #endif // ifndef MUELU_CREATE_EPETRA_PRECONDITIONER_HPP
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...