MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu_NodePartitionInterface_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 #ifndef MUELU_NODEPARTITIONINTERFACE_DECL_HPP
11 #define MUELU_NODEPARTITIONINTERFACE_DECL_HPP
12 
13 #include "MueLu_ConfigDefs.hpp"
14 
15 #if defined(HAVE_MPI)
16 
17 #include <Xpetra_Matrix_fwd.hpp>
19 
22 
23 #include "MueLu_Level_fwd.hpp"
25 
26 namespace MueLu {
27 
70 // FIXME: this class should not be templated
71 template <class Scalar,
74  class Node = DefaultNode>
76 #undef MUELU_NODEPARTITIONINTERFACE_SHORT
77 #include "MueLu_UseShortNames.hpp"
78 
79  public:
81 
82 
85 
89 
91 
93 
94  void DeclareInput(Level& currentLevel) const;
96 
98 
99  void Build(Level& currentLevel) const;
100 
102 
103  private:
105 
106 }; // class NodePartitionInterface
107 
108 } // namespace MueLu
109 
110 #define MUELU_NODEPARTITIONINTERFACE_SHORT
111 #endif // if defined(HAVE_MPI)
112 
113 #endif // MUELU_NODEPARTITIONINTERFACE_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
void DeclareInput(Level &currentLevel) const
Specifies the data that this class needs, and the factories that generate that data.
MueLu::DefaultNode Node
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
Definition: MueLu_Level.hpp:63
Partitioning within a node onlyThis interface provides partitioning within a node.
void Build(Level &currentLevel) const
Build an object with this factory.
Base class for factories that use one level (currentLevel).