MueLu
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
MueLu_InterfaceAggregationAlgorithm_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_InterfaceAggregationAlgorithm_decl.hpp
12
*
13
* Created on: Sep 18, 2012
14
* Author: Tobias Wiesner
15
*/
16
17
#ifndef MUELU_INTERFACEAGGREGATIONALGORITHM_DECL_HPP_
18
#define MUELU_INTERFACEAGGREGATIONALGORITHM_DECL_HPP_
19
20
#include "
MueLu_ConfigDefs.hpp
"
21
#include "
MueLu_AggregationAlgorithmBase.hpp
"
22
#include "
MueLu_InterfaceAggregationAlgorithm_fwd.hpp
"
23
24
#include "
MueLu_FactoryBase_fwd.hpp
"
25
#include "
MueLu_Aggregates_fwd.hpp
"
26
27
#include "MueLu_LWGraph.hpp"
28
29
namespace
MueLu
{
44
45
template
<
class
LocalOrdinal
=
DefaultLocalOrdinal
,
46
class
GlobalOrdinal
=
DefaultGlobalOrdinal
,
47
class
Node
=
DefaultNode
>
48
class
InterfaceAggregationAlgorithm
:
public
MueLu::AggregationAlgorithmBase
<LocalOrdinal, GlobalOrdinal, Node> {
49
#undef MUELU_INTERFACEAGGREGATIONALGORITHM_SHORT
50
#include "
MueLu_UseShortNamesOrdinal.hpp
"
51
52
public
:
54
55
57
InterfaceAggregationAlgorithm
(RCP<const FactoryBase>
const
& graphFact = Teuchos::null);
58
60
virtual
~InterfaceAggregationAlgorithm
() {}
61
63
65
66
68
69
void
BuildAggregatesNonKokkos
(Teuchos::ParameterList
const
& params,
LWGraph
const
& graph,
Aggregates
& aggregates,
typename
AggregationAlgorithmBase<LocalOrdinal, GlobalOrdinal, Node>::AggStatHostType
& aggStat, LO& numNonAggregatedNodes)
const
;
70
71
void
BuildAggregates
(
const
Teuchos::ParameterList& params,
72
const
LWGraph_kokkos
& graph,
73
Aggregates
& aggregates,
74
typename
AggregationAlgorithmBase<LocalOrdinal, GlobalOrdinal, Node>::AggStatType
& aggStat,
75
LO& numNonAggregatedNodes)
const
;
77
78
};
// class InterfaceAggregationAlgorithm
79
80
}
// namespace MueLu
81
82
#define MUELU_INTERFACEAGGREGATIONALGORITHM_SHORT
83
#endif
/* MUELU_INTERFACEAGGREGATIONALGORITHM_DECL_HPP_ */
MueLu_Aggregates_fwd.hpp
MueLu_AggregationAlgorithmBase.hpp
MueLu_ConfigDefs.hpp
MueLu_FactoryBase_fwd.hpp
MueLu_InterfaceAggregationAlgorithm_fwd.hpp
LocalOrdinal
MueLu::DefaultLocalOrdinal LocalOrdinal
Definition
MueLu_UseDefaultTypes.hpp:13
GlobalOrdinal
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Definition
MueLu_UseDefaultTypes.hpp:14
Node
MueLu::DefaultNode Node
Definition
MueLu_UseDefaultTypes.hpp:15
MueLu_UseShortNamesOrdinal.hpp
MueLu::Aggregates
Container class for aggregation information.
Definition
MueLu_Aggregates_decl.hpp:67
MueLu::AggregationAlgorithmBase
Pure virtual base class for all MueLu aggregation algorithms.
Definition
MueLu_AggregationAlgorithmBase.hpp:32
MueLu::AggregationAlgorithmBase::AggStatHostType
Kokkos::View< unsigned *, typename LWGraphHostType::device_type > AggStatHostType
Definition
MueLu_AggregationAlgorithmBase.hpp:37
MueLu::AggregationAlgorithmBase::AggStatType
Kokkos::View< unsigned *, typename LWGraphType::device_type > AggStatType
Definition
MueLu_AggregationAlgorithmBase.hpp:40
MueLu::InterfaceAggregationAlgorithm::~InterfaceAggregationAlgorithm
virtual ~InterfaceAggregationAlgorithm()
Destructor.
Definition
MueLu_InterfaceAggregationAlgorithm_decl.hpp:60
MueLu::InterfaceAggregationAlgorithm::BuildAggregatesNonKokkos
void BuildAggregatesNonKokkos(Teuchos::ParameterList const ¶ms, LWGraph const &graph, Aggregates &aggregates, typename AggregationAlgorithmBase< LocalOrdinal, GlobalOrdinal, Node >::AggStatHostType &aggStat, LO &numNonAggregatedNodes) const
Local aggregation.
Definition
MueLu_InterfaceAggregationAlgorithm_def.hpp:39
MueLu::InterfaceAggregationAlgorithm::BuildAggregates
void BuildAggregates(const Teuchos::ParameterList ¶ms, const LWGraph_kokkos &graph, Aggregates &aggregates, typename AggregationAlgorithmBase< LocalOrdinal, GlobalOrdinal, Node >::AggStatType &aggStat, LO &numNonAggregatedNodes) const
Definition
MueLu_InterfaceAggregationAlgorithm_def.hpp:87
MueLu::InterfaceAggregationAlgorithm::InterfaceAggregationAlgorithm
InterfaceAggregationAlgorithm(RCP< const FactoryBase > const &graphFact=Teuchos::null)
Constructor.
Definition
MueLu_InterfaceAggregationAlgorithm_def.hpp:35
MueLu::LWGraph_kokkos
Lightweight MueLu representation of a compressed row storage graph.
Definition
MueLu_LWGraph_kokkos_decl.hpp:30
MueLu::LWGraph
Lightweight MueLu representation of a compressed row storage graph.
Definition
MueLu_LWGraph_decl.hpp:33
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
src
Graph
UncoupledAggregation
MueLu_InterfaceAggregationAlgorithm_decl.hpp
Generated by
1.17.0