MueLu
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
MueLu_OnePtAggregationAlgorithm_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_OnePtAggregationAlgorithm_decl.hpp
12
*
13
* Created on: Sep 18, 2012
14
* Author: Tobias Wiesner
15
*/
16
17
#ifndef MUELU_ONEPTAGGREGATIONALGORITHM_DECL_HPP_
18
#define MUELU_ONEPTAGGREGATIONALGORITHM_DECL_HPP_
19
20
#include "
MueLu_ConfigDefs.hpp
"
21
#include "
MueLu_AggregationAlgorithmBase.hpp
"
22
#include "
MueLu_OnePtAggregationAlgorithm_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
{
47
48
template
<
class
LocalOrdinal
=
DefaultLocalOrdinal
,
49
class
GlobalOrdinal
=
DefaultGlobalOrdinal
,
50
class
Node
=
DefaultNode
>
51
class
OnePtAggregationAlgorithm
:
public
MueLu::AggregationAlgorithmBase
<LocalOrdinal, GlobalOrdinal, Node> {
52
#undef MUELU_ONEPTAGGREGATIONALGORITHM_SHORT
53
#include "
MueLu_UseShortNamesOrdinal.hpp
"
54
55
public
:
57
58
60
OnePtAggregationAlgorithm
(RCP<const FactoryBase>
const
& graphFact = Teuchos::null);
61
63
virtual
~OnePtAggregationAlgorithm
() {}
64
66
68
69
71
72
void
BuildAggregatesNonKokkos
(Teuchos::ParameterList
const
& params,
LWGraph
const
& graph,
Aggregates
& aggregates,
typename
AggregationAlgorithmBase<LocalOrdinal, GlobalOrdinal, Node>::AggStatHostType
& aggStat, LO& numNonAggregatedNodes)
const
;
73
74
void
BuildAggregates
(Teuchos::ParameterList
const
& params,
75
LWGraph_kokkos
const
& graph,
76
Aggregates
& aggregates,
77
typename
AggregationAlgorithmBase<LocalOrdinal, GlobalOrdinal, Node>::AggStatType
& aggStat,
78
LO& numNonAggregatedNodes)
const
;
80
81
};
// class OnePtAggregationAlgorithm
82
83
}
// namespace MueLu
84
85
#define MUELU_ONEPTAGGREGATIONALGORITHM_SHORT
86
#endif
/* MUELU_ONEPTAGGREGATIONALGORITHM_DECL_HPP_ */
MueLu_Aggregates_fwd.hpp
MueLu_AggregationAlgorithmBase.hpp
MueLu_ConfigDefs.hpp
MueLu_FactoryBase_fwd.hpp
MueLu_OnePtAggregationAlgorithm_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::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::OnePtAggregationAlgorithm::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_OnePtAggregationAlgorithm_def.hpp:39
MueLu::OnePtAggregationAlgorithm::~OnePtAggregationAlgorithm
virtual ~OnePtAggregationAlgorithm()
Destructor.
Definition
MueLu_OnePtAggregationAlgorithm_decl.hpp:63
MueLu::OnePtAggregationAlgorithm::OnePtAggregationAlgorithm
OnePtAggregationAlgorithm(RCP< const FactoryBase > const &graphFact=Teuchos::null)
Constructor.
Definition
MueLu_OnePtAggregationAlgorithm_def.hpp:35
MueLu::OnePtAggregationAlgorithm::BuildAggregates
void BuildAggregates(Teuchos::ParameterList const ¶ms, LWGraph_kokkos const &graph, Aggregates &aggregates, typename AggregationAlgorithmBase< LocalOrdinal, GlobalOrdinal, Node >::AggStatType &aggStat, LO &numNonAggregatedNodes) const
Definition
MueLu_OnePtAggregationAlgorithm_def.hpp:78
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_OnePtAggregationAlgorithm_decl.hpp
Generated by
1.17.0