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
// @HEADER
2
// *****************************************************************************
3
// MueLu: A package for multigrid based preconditioning
4
//
5
// Copyright 2012 NTESS and the MueLu contributors.
6
// SPDX-License-Identifier: BSD-3-Clause
7
// *****************************************************************************
8
// @HEADER
9
10
/*
11
* MueLu_TopSmootherFactory_decl.hpp
12
*
13
* Created on: Jan 25, 2016
14
* Author: tawiesn
15
*/
16
17
#ifndef PACKAGES_MUELU_SRC_MUECENTRAL_MUELU_TOPSMOOTHERFACTORY_DECL_HPP_
18
#define PACKAGES_MUELU_SRC_MUECENTRAL_MUELU_TOPSMOOTHERFACTORY_DECL_HPP_
19
20
#include "
MueLu_ConfigDefs.hpp
"
21
22
#include "
MueLu_FactoryManagerBase_fwd.hpp
"
23
#include "
MueLu_Level_fwd.hpp
"
24
#include "
MueLu_SingleLevelFactoryBase.hpp
"
25
#include "
MueLu_SmootherBase_fwd.hpp
"
26
#include "
MueLu_SmootherFactory_fwd.hpp
"
27
#include "
MueLu_SmootherPrototype_fwd.hpp
"
28
//#include "MueLu_TwoLevelFactoryBase.hpp"
29
//#include "MueLu_Hierarchy_fwd.hpp"
30
//#include "MueLu_HierarchyManager_fwd.hpp"
31
32
namespace
MueLu
{
33
34
template
<
class
Scalar
=
DefaultScalar
,
35
class
LocalOrdinal
=
DefaultLocalOrdinal
,
36
class
GlobalOrdinal
=
DefaultGlobalOrdinal
,
37
class
Node
=
DefaultNode
>
38
class
TopSmootherFactory
:
public
SingleLevelFactoryBase
{
// TODO: inherit from SmootherFactoryBase ?
39
#undef MUELU_TOPSMOOTHERFACTORY_SHORT
40
#include "
MueLu_UseShortNames.hpp
"
41
42
public
:
43
TopSmootherFactory
(RCP<const FactoryManagerBase> parentFactoryManager,
const
std::string& varName);
44
45
virtual
~TopSmootherFactory
();
46
47
void
DeclareInput
(
Level
& level)
const
;
48
49
void
Build
(
Level
& level)
const
;
50
51
private
:
52
RCP<const FactoryBase>
preSmootherFact_
;
53
RCP<const FactoryBase>
postSmootherFact_
;
54
};
55
56
}
// namespace MueLu
57
58
#define MUELU_TOPSMOOTHERFACTORY_SHORT
59
#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:13
Scalar
MueLu::DefaultScalar Scalar
Definition
MueLu_UseDefaultTypes.hpp:12
GlobalOrdinal
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Definition
MueLu_UseDefaultTypes.hpp:14
Node
MueLu::DefaultNode Node
Definition
MueLu_UseDefaultTypes.hpp:15
MueLu_UseShortNames.hpp
MueLu::SingleLevelFactoryBase::SingleLevelFactoryBase
SingleLevelFactoryBase()
Constructor.
MueLu::TopSmootherFactory::Level
MueLu::Level Level
MueLu::TopSmootherFactory::postSmootherFact_
RCP< const FactoryBase > postSmootherFact_
Definition
MueLu_TopSmootherFactory_decl.hpp:53
MueLu::TopSmootherFactory::TopSmootherFactory
TopSmootherFactory(RCP< const FactoryManagerBase > parentFactoryManager, const std::string &varName)
Definition
MueLu_TopSmootherFactory_def.hpp:34
MueLu::TopSmootherFactory::Build
void Build(Level &level) const
Build an object with this factory.
Definition
MueLu_TopSmootherFactory_def.hpp:78
MueLu::TopSmootherFactory::preSmootherFact_
RCP< const FactoryBase > preSmootherFact_
Definition
MueLu_TopSmootherFactory_decl.hpp:52
MueLu::TopSmootherFactory::~TopSmootherFactory
virtual ~TopSmootherFactory()
Definition
MueLu_TopSmootherFactory_def.hpp:67
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:70
MueLu
Namespace for MueLu classes and methods.
Definition
MueLu_BrickAggregationFactory_decl.hpp:42
MueLu::DefaultNode
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Definition
MueLu_Details_DefaultTypes.hpp:32
MueLu::DefaultGlobalOrdinal
int DefaultGlobalOrdinal
Definition
MueLu_Details_DefaultTypes.hpp:29
MueLu::DefaultLocalOrdinal
int DefaultLocalOrdinal
Definition
MueLu_Details_DefaultTypes.hpp:22
MueLu::DefaultScalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
Definition
MueLu_Details_DefaultTypes.hpp:20
src
MueCentral
MueLu_TopSmootherFactory_decl.hpp
Generated by
1.17.0