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 /*
2  * MueLu_IsorropiaInterface_decl.hpp
3  *
4  * Created on: Jun 10, 2013
5  * Author: tobias
6  */
7 
8 #ifndef MUELU_ISORROPIAINTERFACE_DECL_HPP_
9 #define MUELU_ISORROPIAINTERFACE_DECL_HPP_
10 
11 #include "MueLu_ConfigDefs.hpp"
12 
13 //#if defined(HAVE_MUELU_ISORROPIA) && defined(HAVE_MPI)
14 
15 #include <Xpetra_Matrix.hpp>
16 #include <Xpetra_MapFactory_fwd.hpp>
17 #include <Xpetra_BlockedMultiVector.hpp>
18 #include <Xpetra_BlockedVector.hpp>
19 #include <Xpetra_VectorFactory.hpp>
20 #include <Xpetra_CrsGraphFactory.hpp> //TODO
21 
22 #ifdef HAVE_MUELU_EPETRA
23 #include <Xpetra_EpetraCrsGraph.hpp>
24 #endif
25 
27 
28 #include "MueLu_Level_fwd.hpp"
30 #include "MueLu_Graph_fwd.hpp"
32 #include "MueLu_Utilities_fwd.hpp"
33 
34 namespace MueLu {
35 
73  //FIXME: this class should not be templated
74  template <class LocalOrdinal = DefaultLocalOrdinal,
76  class Node = DefaultNode>
78 
79  typedef double Scalar; // FIXME This class only works with the Epetra stack, i.e., Scalar = double
80 #undef MUELU_ISORROPIAINTERFACE_SHORT
81 #include "MueLu_UseShortNames.hpp"
82 
83  public:
84 
86 
87 
90 
92  virtual ~IsorropiaInterface() { }
94 
96 
98 
99  void DeclareInput(Level & level) const;
101 
103 
104  void Build(Level &level) const;
105 
107 
108 
109 
110  private:
111 
112 
113 
114  }; //class IsorropiaInterface
115 
116 } //namespace MueLu
117 
118 #define MUELU_ISORROPIAINTERFACE_SHORT
119 //#endif //if defined(HAVE_MUELU_ISORROPIA) && defined(HAVE_MPI)
120 
121 
122 #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
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:99
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).