MueLu
Version of the Day
Loading...
Searching...
No Matches
MueLu_SmootherFactoryBase.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
#ifndef MUELU_SMOOTHERFACTORYBASE_HPP
11
#define MUELU_SMOOTHERFACTORYBASE_HPP
12
13
#include "
MueLu_ConfigDefs.hpp
"
14
#include "
MueLu_SingleLevelFactoryBase.hpp
"
15
16
#include "
MueLu_Types.hpp
"
17
18
namespace
MueLu
{
19
class
Level
;
20
29
30
class
SmootherFactoryBase
:
public
SingleLevelFactoryBase
{
31
public
:
33
SmootherFactoryBase
() {}
34
35
virtual
~SmootherFactoryBase
() {}
37
39
40
42
virtual
void
Build
(
Level
& currentLevel)
const
= 0;
43
44
virtual
void
BuildSmoother
(
Level
& currentLevel,
PreOrPost
const
preOrPost =
BOTH
)
const
= 0;
46
47
};
// class SmootherFactoryBase
48
49
}
// namespace MueLu
50
51
#define MUELU_SMOOTHERFACTORYBASE_SHORT
52
53
#endif
// ifndef MUELU_SMOOTHERFACTORYBASE_HPP
54
55
// TODO: remove this interface?
MueLu_ConfigDefs.hpp
MueLu_SingleLevelFactoryBase.hpp
MueLu_Types.hpp
MueLu::Level
Class that holds all level-specific information.
Definition
MueLu_Level.hpp:63
MueLu::SingleLevelFactoryBase::SingleLevelFactoryBase
SingleLevelFactoryBase()
Constructor.
MueLu::SmootherFactoryBase::SmootherFactoryBase
SmootherFactoryBase()
Definition
MueLu_SmootherFactoryBase.hpp:33
MueLu::SmootherFactoryBase::BuildSmoother
virtual void BuildSmoother(Level ¤tLevel, PreOrPost const preOrPost=BOTH) const =0
MueLu::SmootherFactoryBase::Build
virtual void Build(Level ¤tLevel) const =0
Build pre-smoother and/or post-smoother.
MueLu::SmootherFactoryBase::~SmootherFactoryBase
virtual ~SmootherFactoryBase()
Definition
MueLu_SmootherFactoryBase.hpp:35
MueLu
Namespace for MueLu classes and methods.
Definition
MueLu_BrickAggregationFactory_decl.hpp:42
MueLu::PreOrPost
PreOrPost
Definition
MueLu_Types.hpp:21
MueLu::BOTH
@ BOTH
Definition
MueLu_Types.hpp:24
src
Smoothers
MueLu_SmootherFactoryBase.hpp
Generated on
for MueLu by
1.15.0