MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu_TopRAPFactory_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 /*
11  * MueLu_TopRAPFactory_decl.hpp
12  *
13  * Created on: Jan 25, 2016
14  * Author: tawiesn
15  */
16 
17 #ifndef PACKAGES_MUELU_SRC_MUECENTRAL_MUELU_TOPRAPFACTORY_DECL_HPP_
18 #define PACKAGES_MUELU_SRC_MUECENTRAL_MUELU_TOPRAPFACTORY_DECL_HPP_
19 
20 #include "MueLu_ConfigDefs.hpp"
21 
22 //#include "MueLu_FactoryManager_fwd.hpp"
24 #include "MueLu_Level_fwd.hpp"
26 //#include "MueLu_Hierarchy_fwd.hpp"
27 //#include "MueLu_HierarchyManager_fwd.hpp"
28 
29 namespace MueLu {
30 
31 template <class Scalar = DefaultScalar,
34  class Node = DefaultNode>
36 #undef MUELU_TOPRAPFACTORY_SHORT
37 #include "MueLu_UseShortNames.hpp"
38 
39  public:
40  TopRAPFactory(RCP<const FactoryManagerBase> parentFactoryManager);
41  TopRAPFactory(RCP<const FactoryManagerBase> parentFactoryManagerFine, RCP<const FactoryManagerBase> parentFactoryManagerCoarse);
42 
43  virtual ~TopRAPFactory();
44 
45  void DeclareInput(Level& fineLevel, Level& coarseLevel) const;
46 
47  void Build(Level& fineLevel, Level& coarseLevel) const;
48 
49  private:
53 };
54 
55 } // namespace MueLu
56 
57 #define MUELU_TOPRAPFACTORY_SHORT
58 #endif /* PACKAGES_MUELU_SRC_MUECENTRAL_MUELU_TOPRAPFACTORY_DECL_HPP_ */
TopRAPFactory(RCP< const FactoryManagerBase > parentFactoryManager)
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
Base class for factories that use two levels (fineLevel and coarseLevel).
MueLu::DefaultNode Node
RCP< const FactoryBase > PFact_
MueLu::DefaultScalar Scalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
Definition: MueLu_Level.hpp:63
RCP< const FactoryBase > RFact_
RCP< const FactoryBase > AcFact_
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.