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 // @HEADER
2 // *****************************************************************************
3 // MueLu: A package for multigrid based preconditioning
4 //
5 // Copyright 2012 NTESS and the MueLu contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 /*
11  * MueLu_RepartitionInterface_decl.hpp
12  *
13  * Created on: 5 Sep 2013
14  * Author: wiesner
15  */
16 
17 #ifndef MUELU_REPARTITIONINTERFACE_DECL_HPP_
18 #define MUELU_REPARTITIONINTERFACE_DECL_HPP_
19 
20 #include <Xpetra_Map_fwd.hpp>
21 #include <Xpetra_Matrix_fwd.hpp>
23 
25 
26 #include "MueLu_Level_fwd.hpp"
28 
29 namespace MueLu {
30 
76 // FIXME: this class should not be templated
77 template <class LocalOrdinal = DefaultLocalOrdinal,
79  class Node = DefaultNode>
81  typedef double Scalar; // FIXME
82 #undef MUELU_REPARTITIONINTERFACE_SHORT
83 #include "MueLu_UseShortNames.hpp"
84 
85  public:
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  private:
110 }; // class RepartitionInterface
111 
112 } // namespace MueLu
113 
114 #define MUELU_REPARTITIONINTERFACE_SHORT
115 #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:63
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.