MueLu  Version of the Day
MueLu_RepartitionInterface_decl.hpp
Go to the documentation of this file.
1 /*
2  * MueLu_RepartitionInterface_decl.hpp
3  *
4  * Created on: 5 Sep 2013
5  * Author: wiesner
6  */
7 
8 #ifndef MUELU_REPARTITIONINTERFACE_DECL_HPP_
9 #define MUELU_REPARTITIONINTERFACE_DECL_HPP_
10 
11 #include <Xpetra_Map.hpp>
12 #include <Xpetra_Matrix.hpp>
14 #include <Xpetra_VectorFactory.hpp>
15 
17 
18 #include "MueLu_Level_fwd.hpp"
20 #include "MueLu_Graph_fwd.hpp"
23 #include "MueLu_Utilities_fwd.hpp"
24 
25 
26 namespace MueLu {
27 
73  //FIXME: this class should not be templated
74  template <class LocalOrdinal = int,
75  class GlobalOrdinal = LocalOrdinal,
78 
79  typedef double Scalar; // FIXME
80 #undef MUELU_REPARTITIONINTERFACE_SHORT
81 #include "MueLu_UseShortNames.hpp"
82 
83  public:
84 
86 
87 
90 
92  virtual ~RepartitionInterface() { }
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 RepartitionInterface
115 
116 } //namespace MueLu
117 
118 #define MUELU_REPARTITIONINTERFACE_SHORT
119 #endif /* MUELU_REPARTITIONINTERFACE_DECL_HPP_ */
Namespace for MueLu classes and methods.
Class that holds all level-specific information.
Definition: MueLu_Level.hpp:99
void Build(Level &level) const
Build an object with this factory.
Helper class which transforms an "AmalgamatedPartition" array to an unamalgamated "Partition"...
void DeclareInput(Level &level) const
Specifies the data that this class needs, and the factories that generate that data.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
Base class for factories that use one level (currentLevel).