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 
32  TopRAPFactory(RCP<const FactoryManagerBase> parentFactoryManager);
33  TopRAPFactory(RCP<const FactoryManagerBase> parentFactoryManagerFine, RCP<const FactoryManagerBase> parentFactoryManagerCoarse);
34 
35  virtual ~TopRAPFactory();
36 
37  void DeclareInput(Level & fineLevel, Level & coarseLevel) const;
38 
39  void Build(Level & fineLevel, Level & coarseLevel) const;
40 
41  private:
45  };
46 
47 }
48 
49 #define MUELU_TOPRAPFACTORY_SHORT
50 #endif /* PACKAGES_MUELU_SRC_MUECENTRAL_MUELU_TOPRAPFACTORY_DECL_HPP_ */
TopRAPFactory(RCP< const FactoryManagerBase > parentFactoryManager)
MueLu::DefaultLocalOrdinal LocalOrdinal
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
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.