MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu_RepartitionBlockDiagonalFactory_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_REPARTITIONBLOCKDIAGONALFACTORY_DECL_HPP_
11 #define MUELU_REPARTITIONBLOCKDIAGONALFACTORY_DECL_HPP_
12 
13 #include <Xpetra_Import_fwd.hpp>
14 
17 
18 #include "MueLu_Level_fwd.hpp"
20 
21 namespace MueLu {
22 
28 template <class Scalar = DefaultScalar,
31  class Node = DefaultNode>
33 #undef MUELU_REPARTITIONBLOCKDIAGONALFACTORY_SHORT
34 #include "MueLu_UseShortNames.hpp"
35 
36  public:
38 
39 
42 
46 
48 
50 
51  void DeclareInput(Level &level) const;
53 
55 
56  void Build(Level &level) const;
57 
59 };
60 
61 } // namespace MueLu
62 
63 #define MUELU_REPARTITIONBLOCKDIAGONALFACTORY_SHORT
64 
65 #endif /* MUELU_REPARTITIONBLOCKDIAGONALFACTORY_DECL_HPP_ */
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
void DeclareInput(Level &level) const
Specifies the data that this class needs, and the factories that generate that data.
MueLu::DefaultNode Node
MueLu::DefaultScalar Scalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
Definition: MueLu_Level.hpp:63
Factory which rebalances a map on current level using the Importer object generated by the Repartitio...
void Build(Level &level) const
Build an object with this factory.
Base class for factories that use one level (currentLevel).