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 /*
2  * MueLu_TopRAPFactory_decl.hpp
3  *
4  * Created on: Jan 25, 2016
5  * Author: tawiesn
6  */
7 
8 #ifndef PACKAGES_MUELU_SRC_MUECENTRAL_MUELU_TOPRAPFACTORY_DECL_HPP_
9 #define PACKAGES_MUELU_SRC_MUECENTRAL_MUELU_TOPRAPFACTORY_DECL_HPP_
10 
11 #include "MueLu_ConfigDefs.hpp"
12 
13 //#include "MueLu_FactoryManager_fwd.hpp"
15 #include "MueLu_Level_fwd.hpp"
17 //#include "MueLu_Hierarchy_fwd.hpp"
18 //#include "MueLu_HierarchyManager_fwd.hpp"
19 
20 namespace MueLu {
21 
22 template <class Scalar = DefaultScalar,
25  class Node = DefaultNode>
27 #undef MUELU_TOPRAPFACTORY_SHORT
28 #include "MueLu_UseShortNames.hpp"
29 
30  public:
31  TopRAPFactory(RCP<const FactoryManagerBase> parentFactoryManager);
32  TopRAPFactory(RCP<const FactoryManagerBase> parentFactoryManagerFine, RCP<const FactoryManagerBase> parentFactoryManagerCoarse);
33 
34  virtual ~TopRAPFactory();
35 
36  void DeclareInput(Level& fineLevel, Level& coarseLevel) const;
37 
38  void Build(Level& fineLevel, Level& coarseLevel) const;
39 
40  private:
44 };
45 
46 } // namespace MueLu
47 
48 #define MUELU_TOPRAPFACTORY_SHORT
49 #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:99
RCP< const FactoryBase > RFact_
RCP< const FactoryBase > AcFact_
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.