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_fwd.hpp>
12 #include <Xpetra_Matrix_fwd.hpp>
14 
16 
17 #include "MueLu_Level_fwd.hpp"
19 
20 namespace MueLu {
21 
67 // FIXME: this class should not be templated
68 template <class LocalOrdinal = DefaultLocalOrdinal,
70  class Node = DefaultNode>
72  typedef double Scalar; // FIXME
73 #undef MUELU_REPARTITIONINTERFACE_SHORT
74 #include "MueLu_UseShortNames.hpp"
75 
76  public:
78 
79 
82 
84  virtual ~RepartitionInterface() {}
86 
88 
90 
91  void DeclareInput(Level &level) const;
93 
95 
96  void Build(Level &level) const;
97 
99 
100  private:
101 }; // class RepartitionInterface
102 
103 } // namespace MueLu
104 
105 #define MUELU_REPARTITIONINTERFACE_SHORT
106 #endif /* MUELU_REPARTITIONINTERFACE_DECL_HPP_ */
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
MueLu::DefaultNode Node
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
MueLu::DefaultGlobalOrdinal GlobalOrdinal
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.