MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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>
15 #include <Xpetra_VectorFactory.hpp>
16 
18 
19 #include "MueLu_Level_fwd.hpp"
21 #include "MueLu_Graph_fwd.hpp"
24 #include "MueLu_Utilities_fwd.hpp"
25 
26 
27 namespace MueLu {
28 
74  //FIXME: this class should not be templated
75  template <class LocalOrdinal = int,
76  class GlobalOrdinal = LocalOrdinal,
79 
80  typedef double Scalar; // FIXME
81 #undef MUELU_REPARTITIONINTERFACE_SHORT
82 #include "MueLu_UseShortNames.hpp"
83 
84  public:
85 
87 
88 
91 
93  virtual ~RepartitionInterface() { }
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 RepartitionInterface
116 
117 } //namespace MueLu
118 
119 #define MUELU_REPARTITIONINTERFACE_SHORT
120 #endif /* MUELU_REPARTITIONINTERFACE_DECL_HPP_ */
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
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 &quot;AmalgamatedPartition&quot; array to an unamalgamated &quot;Partition&quot;...
Base class for factories that use one level (currentLevel).
void DeclareInput(Level &level) const
Specifies the data that this class needs, and the factories that generate that data.