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>
18 #include <Xpetra_BlockedVector.hpp>
19 #include <Xpetra_VectorFactory.hpp>
20 #include <Xpetra_CrsGraphFactory.hpp> //TODO
21 
22 #ifdef HAVE_MUELU_EPETRA
24 #endif
25 
27 
28 #include "MueLu_Level_fwd.hpp"
30 #include "MueLu_Graph_fwd.hpp"
33 #include "MueLu_Utilities_fwd.hpp"
34 
35 namespace MueLu {
36 
74  //FIXME: this class should not be templated
75  template <class LocalOrdinal = int,
76  class GlobalOrdinal = LocalOrdinal,
79 
80  typedef double Scalar; // FIXME This class only works with the Epetra stack, i.e., Scalar = double
81 #undef MUELU_ISORROPIAINTERFACE_SHORT
82 #include "MueLu_UseShortNames.hpp"
83 
84  public:
85 
87 
88 
91 
93  virtual ~IsorropiaInterface() { }
95 
97 
99 
100  void DeclareInput(Level & level) const;
102 
104 
105  void Build(Level &level) const;
106 
108 
109 
110 
111  private:
112 
113 
114 
115  }; //class IsorropiaInterface
116 
117 } //namespace MueLu
118 
119 #define MUELU_ISORROPIAINTERFACE_SHORT
120 //#endif //if defined(HAVE_MUELU_ISORROPIA) && defined(HAVE_MPI)
121 
122 
123 #endif /* MUELU_ISORROPIAINTERFACE_DECL_HPP_ */
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
void Build(Level &level) const
Build an object with this factory.
Interface to IsorropiaInterface to Isorropia allowing to access other rebalancing/repartitioning algo...
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).