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 = double, class LocalOrdinal = int, class GlobalOrdinal = LocalOrdinal, class Node = KokkosClassic::DefaultNode::DefaultNodeType>
24 #undef MUELU_TOPRAPFACTORY_SHORT
25 #include "MueLu_UseShortNames.hpp"
26 
27  public:
28 
29  TopRAPFactory(RCP<const FactoryManagerBase> parentFactoryManager);
30  TopRAPFactory(RCP<const FactoryManagerBase> parentFactoryManagerFine, RCP<const FactoryManagerBase> parentFactoryManagerCoarse);
31 
32  virtual ~TopRAPFactory();
33 
34  void DeclareInput(Level & fineLevel, Level & coarseLevel) const;
35 
36  void Build(Level & fineLevel, Level & coarseLevel) const;
37 
38  private:
42  };
43 
44 }
45 
46 #define MUELU_TOPRAPFACTORY_SHORT
47 #endif /* PACKAGES_MUELU_SRC_MUECENTRAL_MUELU_TOPRAPFACTORY_DECL_HPP_ */
TopRAPFactory(RCP< const FactoryManagerBase > parentFactoryManager)
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
Base class for factories that use two levels (fineLevel and coarseLevel).
RCP< const FactoryBase > PFact_
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.