MueLu
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
MueLu_TopSmootherFactory_decl.hpp
Go to the documentation of this file.
1
/*
2
* MueLu_TopSmootherFactory_decl.hpp
3
*
4
* Created on: Jan 25, 2016
5
* Author: tawiesn
6
*/
7
8
#ifndef PACKAGES_MUELU_SRC_MUECENTRAL_MUELU_TOPSMOOTHERFACTORY_DECL_HPP_
9
#define PACKAGES_MUELU_SRC_MUECENTRAL_MUELU_TOPSMOOTHERFACTORY_DECL_HPP_
10
11
#include "
MueLu_ConfigDefs.hpp
"
12
13
#include "
MueLu_FactoryManagerBase_fwd.hpp
"
14
#include "
MueLu_Level_fwd.hpp
"
15
#include "
MueLu_SingleLevelFactoryBase.hpp
"
16
#include "
MueLu_SmootherBase_fwd.hpp
"
17
#include "
MueLu_SmootherFactory_fwd.hpp
"
18
#include "
MueLu_SmootherPrototype_fwd.hpp
"
19
//#include "MueLu_TwoLevelFactoryBase.hpp"
20
//#include "MueLu_Hierarchy_fwd.hpp"
21
//#include "MueLu_HierarchyManager_fwd.hpp"
22
23
24
namespace
MueLu
{
25
26
template
<
class
Scalar
=
DefaultScalar
,
27
class
LocalOrdinal
=
DefaultLocalOrdinal
,
28
class
GlobalOrdinal
=
DefaultGlobalOrdinal
,
29
class
Node
=
DefaultNode
>
30
class
TopSmootherFactory
:
public
SingleLevelFactoryBase
{
//TODO: inherit from SmootherFactoryBase ?
31
#undef MUELU_TOPSMOOTHERFACTORY_SHORT
32
#include "
MueLu_UseShortNames.hpp
"
33
34
public
:
35
36
TopSmootherFactory
(RCP<const FactoryManagerBase> parentFactoryManager,
const
std::string& varName);
37
38
virtual
~TopSmootherFactory
();
39
40
void
DeclareInput
(
Level
& level)
const
;
41
42
void
Build
(
Level
& level)
const
;
43
44
private
:
45
RCP<const FactoryBase>
preSmootherFact_
;
46
RCP<const FactoryBase>
postSmootherFact_
;
47
};
48
49
}
50
51
#define MUELU_TOPSMOOTHERFACTORY_SHORT
52
#endif
/* PACKAGES_MUELU_SRC_MUECENTRAL_MUELU_TOPSMOOTHERFACTORY_DECL_HPP_ */
MueLu_ConfigDefs.hpp
MueLu_FactoryManagerBase_fwd.hpp
MueLu_Level_fwd.hpp
MueLu_SingleLevelFactoryBase.hpp
MueLu_SmootherBase_fwd.hpp
MueLu_SmootherFactory_fwd.hpp
MueLu_SmootherPrototype_fwd.hpp
LocalOrdinal
MueLu::DefaultLocalOrdinal LocalOrdinal
Definition
MueLu_UseDefaultTypes.hpp:50
Scalar
MueLu::DefaultScalar Scalar
Definition
MueLu_UseDefaultTypes.hpp:49
GlobalOrdinal
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Definition
MueLu_UseDefaultTypes.hpp:51
Node
MueLu::DefaultNode Node
Definition
MueLu_UseDefaultTypes.hpp:52
MueLu_UseShortNames.hpp
MueLu::SingleLevelFactoryBase::SingleLevelFactoryBase
SingleLevelFactoryBase()
Constructor.
Definition
MueLu_SingleLevelFactoryBase.hpp:71
MueLu::TopSmootherFactory::Level
MueLu::Level Level
MueLu::TopSmootherFactory::postSmootherFact_
RCP< const FactoryBase > postSmootherFact_
Definition
MueLu_TopSmootherFactory_decl.hpp:46
MueLu::TopSmootherFactory::TopSmootherFactory
TopSmootherFactory(RCP< const FactoryManagerBase > parentFactoryManager, const std::string &varName)
Definition
MueLu_TopSmootherFactory_def.hpp:25
MueLu::TopSmootherFactory::Build
void Build(Level &level) const
Build an object with this factory.
Definition
MueLu_TopSmootherFactory_def.hpp:70
MueLu::TopSmootherFactory::preSmootherFact_
RCP< const FactoryBase > preSmootherFact_
Definition
MueLu_TopSmootherFactory_decl.hpp:45
MueLu::TopSmootherFactory::~TopSmootherFactory
virtual ~TopSmootherFactory()
Definition
MueLu_TopSmootherFactory_def.hpp:59
MueLu::TopSmootherFactory::DeclareInput
void DeclareInput(Level &level) const
Specifies the data that this class needs, and the factories that generate that data.
Definition
MueLu_TopSmootherFactory_def.hpp:62
MueLu
Namespace for MueLu classes and methods.
Definition
MueLu_BrickAggregationFactory_decl.hpp:78
MueLu::DefaultNode
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Definition
MueLu_Details_DefaultTypes.hpp:70
MueLu::DefaultGlobalOrdinal
int DefaultGlobalOrdinal
Definition
MueLu_Details_DefaultTypes.hpp:67
MueLu::DefaultLocalOrdinal
int DefaultLocalOrdinal
Definition
MueLu_Details_DefaultTypes.hpp:60
MueLu::DefaultScalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
Definition
MueLu_Details_DefaultTypes.hpp:58
src
MueCentral
MueLu_TopSmootherFactory_decl.hpp
Generated by
1.17.0