MueLu
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
MueLu_TopRAPFactory_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_TopRAPFactory_decl.hpp
12
*
13
* Created on: Jan 25, 2016
14
* Author: tawiesn
15
*/
16
17
#ifndef PACKAGES_MUELU_SRC_MUECENTRAL_MUELU_TOPRAPFACTORY_DECL_HPP_
18
#define PACKAGES_MUELU_SRC_MUECENTRAL_MUELU_TOPRAPFACTORY_DECL_HPP_
19
20
#include "
MueLu_ConfigDefs.hpp
"
21
22
//#include "MueLu_FactoryManager_fwd.hpp"
23
#include "
MueLu_FactoryManagerBase.hpp
"
24
#include "
MueLu_Level_fwd.hpp
"
25
#include "
MueLu_TwoLevelFactoryBase.hpp
"
26
//#include "MueLu_Hierarchy_fwd.hpp"
27
//#include "MueLu_HierarchyManager_fwd.hpp"
28
29
namespace
MueLu
{
30
31
template
<
class
Scalar
=
DefaultScalar
,
32
class
LocalOrdinal
=
DefaultLocalOrdinal
,
33
class
GlobalOrdinal
=
DefaultGlobalOrdinal
,
34
class
Node
=
DefaultNode
>
35
class
TopRAPFactory
:
public
TwoLevelFactoryBase
{
36
#undef MUELU_TOPRAPFACTORY_SHORT
37
#include "
MueLu_UseShortNames.hpp
"
38
39
public
:
40
TopRAPFactory
(RCP<const FactoryManagerBase> parentFactoryManager);
41
TopRAPFactory
(RCP<const FactoryManagerBase> parentFactoryManagerFine, RCP<const FactoryManagerBase> parentFactoryManagerCoarse);
42
43
virtual
~TopRAPFactory
();
44
45
void
DeclareInput
(
Level
& fineLevel,
Level
& coarseLevel)
const
;
46
47
void
Build
(
Level
& fineLevel,
Level
& coarseLevel)
const
;
48
49
private
:
50
RCP<const FactoryBase>
PFact_
;
51
RCP<const FactoryBase>
RFact_
;
52
RCP<const FactoryBase>
AcFact_
;
53
};
54
55
}
// namespace MueLu
56
57
#define MUELU_TOPRAPFACTORY_SHORT
58
#endif
/* PACKAGES_MUELU_SRC_MUECENTRAL_MUELU_TOPRAPFACTORY_DECL_HPP_ */
MueLu_ConfigDefs.hpp
MueLu_FactoryManagerBase.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::TopRAPFactory::DeclareInput
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
Definition
MueLu_TopRAPFactory_def.hpp:44
MueLu::TopRAPFactory::~TopRAPFactory
virtual ~TopRAPFactory()
Definition
MueLu_TopRAPFactory_def.hpp:41
MueLu::TopRAPFactory::Build
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
Definition
MueLu_TopRAPFactory_def.hpp:51
MueLu::TopRAPFactory::AcFact_
RCP< const FactoryBase > AcFact_
Definition
MueLu_TopRAPFactory_decl.hpp:52
MueLu::TopRAPFactory::TopRAPFactory
TopRAPFactory(RCP< const FactoryManagerBase > parentFactoryManager)
Definition
MueLu_TopRAPFactory_def.hpp:29
MueLu::TopRAPFactory::RFact_
RCP< const FactoryBase > RFact_
Definition
MueLu_TopRAPFactory_decl.hpp:51
MueLu::TopRAPFactory::Level
MueLu::Level Level
MueLu::TopRAPFactory::PFact_
RCP< const FactoryBase > PFact_
Definition
MueLu_TopRAPFactory_decl.hpp:50
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
MueCentral
MueLu_TopRAPFactory_decl.hpp
Generated by
1.17.0