MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu_InterfaceMappingTransferFactory_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_INTERFACEMAPPINGTRANSFERFACTORY_DECL_HPP_
11 #define MUELU_INTERFACEMAPPINGTRANSFERFACTORY_DECL_HPP_
12 
13 #include "MueLu_Level.hpp"
15 #include "MueLu_Monitor.hpp"
16 
17 #include "MueLu_ConfigDefs.hpp"
19 
20 namespace MueLu {
21 
40 template <class LocalOrdinal = DefaultLocalOrdinal,
42  class Node = DefaultNode>
44 #undef MUELU_INTERFACEMAPPINGTRANSFERFACTORY_SHORT
46  public:
49 
52 
54  void DeclareInput(Level &fineLevel, Level &coarseLevel) const override;
55  void Build(Level &fineLevel, Level &coarseLevel) const override;
56 };
57 
58 } // namespace MueLu
59 #define MUELU_INTERFACEMAPPINGTRANSFERFACTORY_SHORT
60 #endif /* MUELU_INTERFACEMAPPINGTRANSFERFACTORY_DECL_HPP_ */
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
void Build(Level &fineLevel, Level &coarseLevel) const override
Build an object with this factory.
Base class for factories that use two levels (fineLevel and coarseLevel).
MueLu::DefaultNode Node
RCP< const ParameterList > GetValidParameterList() const override
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
Transfer mapping data for interface aggregation to the coarse level.
InterfaceMappingTransferFactory()=default
Constructor.
void DeclareInput(Level &fineLevel, Level &coarseLevel) const override
Input.