MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu_IsorropiaInterface_decl.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 /*
11  * MueLu_IsorropiaInterface_decl.hpp
12  *
13  * Created on: Jun 10, 2013
14  * Author: tobias
15  */
16 
17 #ifndef MUELU_ISORROPIAINTERFACE_DECL_HPP_
18 #define MUELU_ISORROPIAINTERFACE_DECL_HPP_
19 
20 #include "MueLu_ConfigDefs.hpp"
21 
22 //#if defined(HAVE_MUELU_ISORROPIA) && defined(HAVE_MPI)
23 
24 #include <Xpetra_Matrix_fwd.hpp>
26 #include <Xpetra_CrsGraphFactory_fwd.hpp> //TODO
27 
28 #ifdef HAVE_MUELU_EPETRA
30 #endif
31 
33 
34 #include "MueLu_Level_fwd.hpp"
36 
38 
39 namespace MueLu {
40 
78 // FIXME: this class should not be templated
79 template <class LocalOrdinal = DefaultLocalOrdinal,
81  class Node = DefaultNode>
83  typedef double Scalar; // FIXME This class only works with the Epetra stack, i.e., Scalar = double
84 #undef MUELU_ISORROPIAINTERFACE_SHORT
85 #include "MueLu_UseShortNames.hpp"
86 
87  public:
89 
90 
93 
95  virtual ~IsorropiaInterface() {}
97 
99 
101 
102  void DeclareInput(Level &level) const;
104 
106 
107  void Build(Level &level) const;
108 
110 
111  private:
112 }; // class IsorropiaInterface
113 
114 } // namespace MueLu
115 
116 #define MUELU_ISORROPIAINTERFACE_SHORT
117 //#endif //if defined(HAVE_MUELU_ISORROPIA) && defined(HAVE_MPI)
118 
119 #endif /* MUELU_ISORROPIAINTERFACE_DECL_HPP_ */
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
void Build(Level &level) const
Build an object with this factory.
Interface to IsorropiaInterface to Isorropia allowing to access other rebalancing/repartitioning algo...
MueLu::DefaultNode Node
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
Definition: MueLu_Level.hpp:63
void DeclareInput(Level &level) const
Specifies the data that this class needs, and the factories that generate that data.
Base class for factories that use one level (currentLevel).