MueLu
Version of the Day
MueLu_IsorropiaInterface_decl.hpp
Go to the documentation of this file.
1
/*
2
* MueLu_IsorropiaInterface_decl.hpp
3
*
4
* Created on: Jun 10, 2013
5
* Author: tobias
6
*/
7
8
#ifndef MUELU_ISORROPIAINTERFACE_DECL_HPP_
9
#define MUELU_ISORROPIAINTERFACE_DECL_HPP_
10
11
#include "
MueLu_ConfigDefs.hpp
"
12
13
//#if defined(HAVE_MUELU_ISORROPIA) && defined(HAVE_MPI)
14
15
#include <Xpetra_Matrix.hpp>
16
#include <Xpetra_MapFactory_fwd.hpp>
17
#include <Xpetra_BlockedMultiVector.hpp>
18
#include <Xpetra_BlockedVector.hpp>
19
#include <Xpetra_VectorFactory.hpp>
20
#include <Xpetra_CrsGraphFactory.hpp>
//TODO
21
22
#ifdef HAVE_MUELU_EPETRA
23
#include <Xpetra_EpetraCrsGraph.hpp>
24
#endif
25
26
#include "
MueLu_SingleLevelFactoryBase.hpp
"
27
28
#include "
MueLu_Level_fwd.hpp
"
29
#include "
MueLu_FactoryBase_fwd.hpp
"
30
#include "
MueLu_Graph_fwd.hpp
"
31
#include "
MueLu_AmalgamationFactory_fwd.hpp
"
32
#include "
MueLu_AmalgamationInfo_fwd.hpp
"
33
#include "
MueLu_Utilities_fwd.hpp
"
34
35
namespace
MueLu
{
36
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
IsorropiaInterface
:
public
SingleLevelFactoryBase
{
79
80
typedef
double
Scalar
;
// FIXME This class only works with the Epetra stack, i.e., Scalar = double
81
#undef MUELU_ISORROPIAINTERFACE_SHORT
82
#include "
MueLu_UseShortNames.hpp
"
83
84
public
:
85
87
88
90
IsorropiaInterface
() { }
91
93
virtual
~IsorropiaInterface
() { }
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 IsorropiaInterface
116
117
}
//namespace MueLu
118
119
#define MUELU_ISORROPIAINTERFACE_SHORT
120
//#endif //if defined(HAVE_MUELU_ISORROPIA) && defined(HAVE_MPI)
121
122
123
#endif
/* MUELU_ISORROPIAINTERFACE_DECL_HPP_ */
MueLu_ConfigDefs.hpp
MueLu::IsorropiaInterface::IsorropiaInterface
IsorropiaInterface()
Constructor.
Definition:
MueLu_IsorropiaInterface_decl.hpp:90
MueLu::IsorropiaInterface::Build
void Build(Level &level) const
Build an object with this factory.
Definition:
MueLu_IsorropiaInterface_def.hpp:67
MueLu_AmalgamationInfo_fwd.hpp
MueLu_Level_fwd.hpp
MueLu
Namespace for MueLu classes and methods.
Definition:
MueLu_BrickAggregationFactory_decl.hpp:76
MueLu_AmalgamationFactory_fwd.hpp
MueLu::IsorropiaInterface::DeclareInput
void DeclareInput(Level &level) const
Specifies the data that this class needs, and the factories that generate that data.
Definition:
MueLu_IsorropiaInterface_def.hpp:60
MueLu_SingleLevelFactoryBase.hpp
MueLu::IsorropiaInterface::Scalar
double Scalar
Definition:
MueLu_IsorropiaInterface_decl.hpp:80
MueLu_Utilities_fwd.hpp
MueLu_Graph_fwd.hpp
MueLu_FactoryBase_fwd.hpp
MueLu::SingleLevelFactoryBase
Base class for factories that use one level (currentLevel).
Definition:
MueLu_SingleLevelFactoryBase.hpp:64
MueLu::IsorropiaInterface::GetValidParameterList
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
Definition:
MueLu_IsorropiaInterface_def.hpp:48
MueLu_UseShortNames.hpp
MueLu::IsorropiaInterface::~IsorropiaInterface
virtual ~IsorropiaInterface()
Destructor.
Definition:
MueLu_IsorropiaInterface_decl.hpp:93
MueLu::Level
Class that holds all level-specific information.
Definition:
MueLu_Level.hpp:99
MueLu::IsorropiaInterface
Interface to Isorropia.
Definition:
MueLu_IsorropiaInterface_decl.hpp:78
src
Rebalancing
MueLu_IsorropiaInterface_decl.hpp
Generated on Thu Feb 27 2020 16:06:46 for MueLu by
1.8.16