MueLu
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
MueLu_MHDRAPFactory_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
#ifndef MUELU_MHDRAPFACTORY_DECL_HPP
11
#define MUELU_MHDRAPFACTORY_DECL_HPP
12
13
#include <string>
14
15
#include <Xpetra_Matrix_fwd.hpp>
16
17
#include "
MueLu_ConfigDefs.hpp
"
18
#include "
MueLu_TwoLevelFactoryBase.hpp
"
19
//#include "MueLu_MHDRAPFactory_fwd.hpp"
20
21
#include "
MueLu_Level_fwd.hpp
"
22
#include "
MueLu_FactoryBase_fwd.hpp
"
23
24
namespace
MueLu
{
29
template
<
class
Scalar
=
DefaultScalar
,
30
class
LocalOrdinal
=
DefaultLocalOrdinal
,
31
class
GlobalOrdinal
=
DefaultGlobalOrdinal
,
32
class
Node
=
DefaultNode
>
33
class
MHDRAPFactory
:
public
TwoLevelFactoryBase
{
34
#undef MUELU_MHDRAPFACTORY_SHORT
35
#include "
MueLu_UseShortNames.hpp
"
36
37
public
:
39
40
41
MHDRAPFactory
();
42
43
virtual
~MHDRAPFactory
() {}
44
46
48
49
50
void
DeclareInput
(
Level
&fineLevel,
Level
&coarseLevel)
const
;
51
53
55
56
void
Build
(
Level
&fineLevel,
Level
&coarseLevel)
const
;
58
60
61
63
void
SetImplicitTranspose
(
bool
const
&implicit) {
64
implicitTranspose_
= implicit;
65
}
66
68
70
// static std::string PerfUtils::PrintMatrixInfo(const Matrix & Ac, const std::string & msgTag);
71
72
static
std::string
PrintLoadBalancingInfo
(
const
Matrix &Ac,
const
std::string &msgTag);
73
74
private
:
76
bool
implicitTranspose_
;
77
78
};
// class MHDRAPFactory
79
80
}
// namespace MueLu
81
82
#define MUELU_MHDRAPFACTORY_SHORT
83
#endif
// MUELU_MHDRAPFACTORY_DECL_HPP
MueLu_ConfigDefs.hpp
MueLu_FactoryBase_fwd.hpp
MueLu_Level_fwd.hpp
MueLu_TwoLevelFactoryBase.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::Level
Class that holds all level-specific information.
Definition
MueLu_Level.hpp:63
MueLu::MHDRAPFactory::SetImplicitTranspose
void SetImplicitTranspose(bool const &implicit)
Indicate that the restriction operator action should be implicitly defined by the transpose of the pr...
Definition
MueLu_MHDRAPFactory_decl.hpp:63
MueLu::MHDRAPFactory::MHDRAPFactory
MHDRAPFactory()
Definition
MueLu_MHDRAPFactory_def.hpp:28
MueLu::MHDRAPFactory::Build
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
Definition
MueLu_MHDRAPFactory_def.hpp:58
MueLu::MHDRAPFactory::PrintLoadBalancingInfo
static std::string PrintLoadBalancingInfo(const Matrix &Ac, const std::string &msgTag)
Definition
MueLu_MHDRAPFactory_def.hpp:188
MueLu::MHDRAPFactory::~MHDRAPFactory
virtual ~MHDRAPFactory()
Definition
MueLu_MHDRAPFactory_decl.hpp:43
MueLu::MHDRAPFactory::implicitTranspose_
bool implicitTranspose_
If true, the action of the restriction operator action is implicitly defined by the transpose of the ...
Definition
MueLu_MHDRAPFactory_decl.hpp:76
MueLu::MHDRAPFactory::DeclareInput
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
Definition
MueLu_MHDRAPFactory_def.hpp:32
MueLu::TwoLevelFactoryBase::TwoLevelFactoryBase
TwoLevelFactoryBase()
Constructor.
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
Transfers
Geometric-Interpolation
MueLu_MHDRAPFactory_decl.hpp
Generated by
1.17.0