MueLu
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
MueLu_RepartitionInterface_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_RepartitionInterface_decl.hpp
12
*
13
* Created on: 5 Sep 2013
14
* Author: wiesner
15
*/
16
17
#ifndef MUELU_REPARTITIONINTERFACE_DECL_HPP_
18
#define MUELU_REPARTITIONINTERFACE_DECL_HPP_
19
20
#include <Xpetra_Map_fwd.hpp>
21
#include <Xpetra_Matrix_fwd.hpp>
22
#include <Xpetra_VectorFactory_fwd.hpp>
23
24
#include "
MueLu_SingleLevelFactoryBase.hpp
"
25
26
#include "
MueLu_Level_fwd.hpp
"
27
#include "
MueLu_FactoryBase_fwd.hpp
"
28
29
namespace
MueLu
{
30
75
76
// FIXME: this class should not be templated
77
template
<
class
LocalOrdinal
=
DefaultLocalOrdinal
,
78
class
GlobalOrdinal
=
DefaultGlobalOrdinal
,
79
class
Node
=
DefaultNode
>
80
class
RepartitionInterface
:
public
SingleLevelFactoryBase
{
81
typedef
double
Scalar
;
// FIXME
82
#undef MUELU_REPARTITIONINTERFACE_SHORT
83
#include "
MueLu_UseShortNames.hpp
"
84
85
public
:
87
88
90
RepartitionInterface
() {}
91
93
virtual
~RepartitionInterface
() {}
95
96
RCP<const ParameterList>
GetValidParameterList
()
const
;
97
99
100
void
DeclareInput
(
Level
&level)
const
;
102
104
105
void
Build
(
Level
&level)
const
;
106
108
109
private
:
110
};
// class RepartitionInterface
111
112
}
// namespace MueLu
113
114
#define MUELU_REPARTITIONINTERFACE_SHORT
115
#endif
/* MUELU_REPARTITIONINTERFACE_DECL_HPP_ */
MueLu_FactoryBase_fwd.hpp
MueLu_Level_fwd.hpp
MueLu_SingleLevelFactoryBase.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_UseShortNames.hpp
MueLu::Level
Class that holds all level-specific information.
Definition
MueLu_Level.hpp:63
MueLu::RepartitionInterface< LocalOrdinal, GlobalOrdinal, Node >::Scalar
double Scalar
Definition
MueLu_RepartitionInterface_decl.hpp:81
MueLu::RepartitionInterface::DeclareInput
void DeclareInput(Level &level) const
Specifies the data that this class needs, and the factories that generate that data.
Definition
MueLu_RepartitionInterface_def.hpp:39
MueLu::RepartitionInterface::Build
void Build(Level &level) const
Build an object with this factory.
Definition
MueLu_RepartitionInterface_def.hpp:46
MueLu::RepartitionInterface::GetValidParameterList
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
Definition
MueLu_RepartitionInterface_def.hpp:29
MueLu::RepartitionInterface::~RepartitionInterface
virtual ~RepartitionInterface()
Destructor.
Definition
MueLu_RepartitionInterface_decl.hpp:93
MueLu::RepartitionInterface::RepartitionInterface
RepartitionInterface()
Constructor.
Definition
MueLu_RepartitionInterface_decl.hpp:90
MueLu::SingleLevelFactoryBase::SingleLevelFactoryBase
SingleLevelFactoryBase()
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
src
Rebalancing
MueLu_RepartitionInterface_decl.hpp
Generated by
1.17.0