MueLu
Version of the Day
MueLu_RepartitionInterface_decl.hpp
Go to the documentation of this file.
1
/*
2
* MueLu_RepartitionInterface_decl.hpp
3
*
4
* Created on: 5 Sep 2013
5
* Author: wiesner
6
*/
7
8
#ifndef MUELU_REPARTITIONINTERFACE_DECL_HPP_
9
#define MUELU_REPARTITIONINTERFACE_DECL_HPP_
10
11
#include <Xpetra_Map.hpp>
12
#include <Xpetra_Matrix.hpp>
13
#include <Xpetra_MapFactory_fwd.hpp>
14
#include <Xpetra_MultiVectorFactory.hpp>
15
#include <Xpetra_VectorFactory.hpp>
16
17
#include "
MueLu_SingleLevelFactoryBase.hpp
"
18
19
#include "
MueLu_Level_fwd.hpp
"
20
#include "
MueLu_FactoryBase_fwd.hpp
"
21
#include "
MueLu_Graph_fwd.hpp
"
22
#include "
MueLu_AmalgamationFactory_fwd.hpp
"
23
#include "
MueLu_AmalgamationInfo_fwd.hpp
"
24
#include "
MueLu_Utilities_fwd.hpp
"
25
26
27
namespace
MueLu
{
28
74
//FIXME: this class should not be templated
75
template
<
class
LocalOrdinal = int,
76
class
GlobalOrdinal = LocalOrdinal,
77
class
Node = KokkosClassic::DefaultNode::DefaultNodeType>
78
class
RepartitionInterface
:
public
SingleLevelFactoryBase
{
79
80
typedef
double
Scalar
;
// FIXME
81
#undef MUELU_REPARTITIONINTERFACE_SHORT
82
#include "
MueLu_UseShortNames.hpp
"
83
84
public
:
85
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
110
111
private
:
112
113
114
115
};
//class RepartitionInterface
116
117
}
//namespace MueLu
118
119
#define MUELU_REPARTITIONINTERFACE_SHORT
120
#endif
/* MUELU_REPARTITIONINTERFACE_DECL_HPP_ */
MueLu::RepartitionInterface
Helper class which transforms an "AmalgamatedPartition" array to an unamalgamated "Partition".
Definition:
MueLu_RepartitionInterface_decl.hpp:78
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:36
MueLu_AmalgamationInfo_fwd.hpp
MueLu_Level_fwd.hpp
MueLu::RepartitionInterface::Scalar
double Scalar
Definition:
MueLu_RepartitionInterface_decl.hpp:80
MueLu
Namespace for MueLu classes and methods.
Definition:
MueLu_BrickAggregationFactory_decl.hpp:76
MueLu_AmalgamationFactory_fwd.hpp
MueLu::RepartitionInterface::~RepartitionInterface
virtual ~RepartitionInterface()
Destructor.
Definition:
MueLu_RepartitionInterface_decl.hpp:93
MueLu::RepartitionInterface::Build
void Build(Level &level) const
Build an object with this factory.
Definition:
MueLu_RepartitionInterface_def.hpp:43
MueLu_SingleLevelFactoryBase.hpp
MueLu_Utilities_fwd.hpp
MueLu_Graph_fwd.hpp
MueLu::RepartitionInterface::RepartitionInterface
RepartitionInterface()
Constructor.
Definition:
MueLu_RepartitionInterface_decl.hpp:90
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:25
MueLu_FactoryBase_fwd.hpp
MueLu::SingleLevelFactoryBase
Base class for factories that use one level (currentLevel).
Definition:
MueLu_SingleLevelFactoryBase.hpp:64
MueLu_UseShortNames.hpp
MueLu::Level
Class that holds all level-specific information.
Definition:
MueLu_Level.hpp:99
src
Rebalancing
MueLu_RepartitionInterface_decl.hpp
Generated on Thu Feb 27 2020 16:06:46 for MueLu by
1.8.16