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>
13 #include <Xpetra_MapFactory_fwd.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 
39  //FIXME: this class should not be templated
40  template <class LocalOrdinal = int,
41  class GlobalOrdinal = LocalOrdinal,
42  class Node = KokkosClassic::DefaultNode::DefaultNodeType>
44 
45  typedef double Scalar; // FIXME
46 #undef MUELU_REPARTITIONINTERFACE_SHORT
47 #include "MueLu_UseShortNames.hpp"
48 
49  public:
50 
52 
53 
56 
58  virtual ~RepartitionInterface() { }
60 
61  RCP<const ParameterList> GetValidParameterList() const;
62 
64 
65  void DeclareInput(Level & level) const;
67 
69 
70  void Build(Level &level) const;
71 
73 
74 
75 
76  private:
77 
78 
79 
80  }; //class RepartitionInterface
81 
82 } //namespace MueLu
83 
84 #define MUELU_REPARTITIONINTERFACE_SHORT
85 #endif /* MUELU_REPARTITIONINTERFACE_DECL_HPP_ */
Namespace for MueLu classes and methods.
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 "AmalgamatedPartition" array to an unamalgamated "Partition"...
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.