MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu_RebalanceTransferFactory_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_REBALANCETRANSFERFACTORY_DECL_HPP
11 #define MUELU_REBALANCETRANSFERFACTORY_DECL_HPP
12 
13 #include <Xpetra_Matrix_fwd.hpp>
15 #include "Xpetra_Vector_fwd.hpp"
19 #include "Xpetra_Import_fwd.hpp"
21 
22 #include "MueLu_ConfigDefs.hpp"
23 
25 
26 #include "MueLu_PerfUtils_fwd.hpp"
28 #include "MueLu_Types.hpp"
29 
30 namespace MueLu {
31 
38 template <class Scalar = DefaultScalar,
41  class Node = DefaultNode>
43 #undef MUELU_REBALANCETRANSFERFACTORY_SHORT
44 #include "MueLu_UseShortNames.hpp"
45 
46  public:
48 
49 
52 
54  virtual ~RebalanceTransferFactory();
55 
57 
59 
61 
62 
68  void DeclareInput(Level& fineLevel, Level& coarseLevel) const;
69 
71 
73 
74 
76  void Build(Level& fineLevel, Level& coarseLevel) const;
77 
79 
80 }; // class RebalanceTransferFactory
81 
82 } // namespace MueLu
83 
84 #define MUELU_REBALANCETRANSFERFACTORY_SHORT
85 #endif // MUELU_REBALANCETRANSFERFACTORY_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Base class for factories that use two levels (fineLevel and coarseLevel).
MueLu::DefaultNode Node
virtual ~RebalanceTransferFactory()
Destructor.
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.
MueLu::DefaultScalar Scalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
Definition: MueLu_Level.hpp:63
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
Applies permutation to grid transfer operators.
RebalanceTransferFactory()
Constructor.