MueLu  Version of the Day
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:
39  RCP<const FactoryBase> PFact_;
40  RCP<const FactoryBase> RFact_;
41  RCP<const FactoryBase> AcFact_;
42  };
43 
44 }
45 
46 #define MUELU_TOPRAPFACTORY_SHORT
47 #endif /* PACKAGES_MUELU_SRC_MUECENTRAL_MUELU_TOPRAPFACTORY_DECL_HPP_ */
MueLu_ConfigDefs.hpp
MueLu_FactoryManagerBase.hpp
MueLu::TopRAPFactory::RFact_
RCP< const FactoryBase > RFact_
Definition: MueLu_TopRAPFactory_decl.hpp:40
MueLu_TwoLevelFactoryBase.hpp
MueLu_Level_fwd.hpp
MueLu
Namespace for MueLu classes and methods.
Definition: MueLu_BrickAggregationFactory_decl.hpp:76
MueLu::TopRAPFactory
Definition: MueLu_TopRAPFactory_decl.hpp:23
MueLu::TopRAPFactory::Build
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
Definition: MueLu_TopRAPFactory_def.hpp:55
MueLu::TopRAPFactory::TopRAPFactory
TopRAPFactory(RCP< const FactoryManagerBase > parentFactoryManager)
Definition: MueLu_TopRAPFactory_def.hpp:31
MueLu::TwoLevelFactoryBase
Base class for factories that use two levels (fineLevel and coarseLevel).
Definition: MueLu_TwoLevelFactoryBase.hpp:67
MueLu::TopRAPFactory::PFact_
RCP< const FactoryBase > PFact_
Definition: MueLu_TopRAPFactory_decl.hpp:39
MueLu_UseShortNames.hpp
MueLu::TopRAPFactory::~TopRAPFactory
virtual ~TopRAPFactory()
Definition: MueLu_TopRAPFactory_def.hpp:45
MueLu::Level
Class that holds all level-specific information.
Definition: MueLu_Level.hpp:99
MueLu::TopRAPFactory::DeclareInput
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
Definition: MueLu_TopRAPFactory_def.hpp:48
MueLu::TopRAPFactory::AcFact_
RCP< const FactoryBase > AcFact_
Definition: MueLu_TopRAPFactory_decl.hpp:41