MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu_RebalanceBlockInterpolationFactory_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_REBALANCEBLOCKINTERPOLATIONFACTORY_DECL_HPP_
11 #define MUELU_REBALANCEBLOCKINTERPOLATIONFACTORY_DECL_HPP_
12 
13 #include <Xpetra_Matrix_fwd.hpp>
18 #include "Xpetra_Vector_fwd.hpp"
20 #include "Xpetra_Import_fwd.hpp"
22 
23 #include "MueLu_ConfigDefs.hpp"
26 #include "MueLu_PerfUtils_fwd.hpp"
27 #include "MueLu_Types.hpp"
28 
29 namespace MueLu {
30 
37 template <class Scalar = DefaultScalar,
40  class Node = DefaultNode>
42 #undef MUELU_REBALANCEBLOCKINTERPOLATIONFACTORY_SHORT
43 #include "MueLu_UseShortNames.hpp"
44 
45  public:
47 
48 
51 
54 
56 
58 
60 
61 
67  void DeclareInput(Level &fineLevel, Level &coarseLevel) const;
68 
71 
73 
75 
76 
78  void Build(Level &fineLevel, Level &coarseLevel) const;
79 
81 
82  private:
84  std::vector<Teuchos::RCP<const FactoryManagerBase> > FactManager_;
85 
86 }; // class RebalanceBlockTransferFactory
87 
88 } // namespace MueLu
89 
90 #define MUELU_REBALANCEBLOCKINTERPOLATIONFACTORY_SHORT
91 
92 #endif /* MUELU_REBALANCEBLOCKINTERPOLATIONFACTORY_DECL_HPP_ */
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Specifies the data that this class needs, and the factories that generate that data.
Base class for factories that use two levels (fineLevel and coarseLevel).
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
std::vector< Teuchos::RCP< const FactoryManagerBase > > FactManager_
Input factories.
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
void AddFactoryManager(RCP< const FactoryManagerBase > FactManager)
Add a factory manager.