MueLu Version of the Day
Loading...
Searching...
No Matches
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
20namespace MueLu {
21
22 template<class Scalar = DefaultScalar,
25 class Node = DefaultNode>
27#undef MUELU_TOPRAPFACTORY_SHORT
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:
42 RCP<const FactoryBase> PFact_;
43 RCP<const FactoryBase> RFact_;
44 RCP<const FactoryBase> AcFact_;
45 };
46
47}
48
49#define MUELU_TOPRAPFACTORY_SHORT
50#endif /* PACKAGES_MUELU_SRC_MUECENTRAL_MUELU_TOPRAPFACTORY_DECL_HPP_ */
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
MueLu::DefaultNode Node
Class that holds all level-specific information.
Definition: MueLu_Level.hpp:99
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
RCP< const FactoryBase > AcFact_
RCP< const FactoryBase > RFact_
RCP< const FactoryBase > PFact_
Base class for factories that use two levels (fineLevel and coarseLevel).
Namespace for MueLu classes and methods.
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar