MueLu
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
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_fwd.hpp>
16
#include <Xpetra_VectorFactory_fwd.hpp>
17
#include <Xpetra_CrsGraphFactory_fwd.hpp>
//TODO
18
19
#ifdef HAVE_MUELU_EPETRA
20
#include <Xpetra_EpetraCrsGraph_fwd.hpp>
21
#endif
22
23
#include "
MueLu_SingleLevelFactoryBase.hpp
"
24
25
#include "
MueLu_Level_fwd.hpp
"
26
#include "
MueLu_FactoryBase_fwd.hpp
"
27
#include "
MueLu_Graph_fwd.hpp
"
28
#include "
MueLu_AmalgamationInfo_fwd.hpp
"
29
30
namespace
MueLu
{
31
68
69
//FIXME: this class should not be templated
70
template
<
class
LocalOrdinal
=
DefaultLocalOrdinal
,
71
class
GlobalOrdinal
=
DefaultGlobalOrdinal
,
72
class
Node
=
DefaultNode
>
73
class
IsorropiaInterface
:
public
SingleLevelFactoryBase
{
74
75
typedef
double
Scalar
;
// FIXME This class only works with the Epetra stack, i.e., Scalar = double
76
#undef MUELU_ISORROPIAINTERFACE_SHORT
77
#include "
MueLu_UseShortNames.hpp
"
78
79
public
:
80
82
83
85
IsorropiaInterface
() { }
86
88
virtual
~IsorropiaInterface
() { }
90
91
RCP<const ParameterList>
GetValidParameterList
()
const
;
92
94
95
void
DeclareInput
(
Level
& level)
const
;
97
99
100
void
Build
(
Level
&level)
const
;
101
103
104
105
106
private
:
107
108
109
110
};
//class IsorropiaInterface
111
112
}
//namespace MueLu
113
114
#define MUELU_ISORROPIAINTERFACE_SHORT
115
//#endif //if defined(HAVE_MUELU_ISORROPIA) && defined(HAVE_MPI)
116
117
118
#endif
/* MUELU_ISORROPIAINTERFACE_DECL_HPP_ */
MueLu_AmalgamationInfo_fwd.hpp
MueLu_ConfigDefs.hpp
MueLu_FactoryBase_fwd.hpp
MueLu_Graph_fwd.hpp
MueLu_Level_fwd.hpp
MueLu_SingleLevelFactoryBase.hpp
LocalOrdinal
MueLu::DefaultLocalOrdinal LocalOrdinal
Definition
MueLu_UseDefaultTypes.hpp:50
GlobalOrdinal
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Definition
MueLu_UseDefaultTypes.hpp:51
Node
MueLu::DefaultNode Node
Definition
MueLu_UseDefaultTypes.hpp:52
MueLu_UseShortNames.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:56
MueLu::IsorropiaInterface::Build
void Build(Level &level) const
Build an object with this factory.
Definition
MueLu_IsorropiaInterface_def.hpp:63
MueLu::IsorropiaInterface::~IsorropiaInterface
virtual ~IsorropiaInterface()
Destructor.
Definition
MueLu_IsorropiaInterface_decl.hpp:88
MueLu::IsorropiaInterface::IsorropiaInterface
IsorropiaInterface()
Constructor.
Definition
MueLu_IsorropiaInterface_decl.hpp:85
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:44
MueLu::IsorropiaInterface< LocalOrdinal, GlobalOrdinal, Node >::Scalar
double Scalar
Definition
MueLu_IsorropiaInterface_decl.hpp:75
MueLu::Level
Class that holds all level-specific information.
Definition
MueLu_Level.hpp:99
MueLu::SingleLevelFactoryBase::SingleLevelFactoryBase
SingleLevelFactoryBase()
Constructor.
Definition
MueLu_SingleLevelFactoryBase.hpp:71
MueLu
Namespace for MueLu classes and methods.
Definition
MueLu_BrickAggregationFactory_decl.hpp:78
MueLu::DefaultNode
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Definition
MueLu_Details_DefaultTypes.hpp:70
MueLu::DefaultGlobalOrdinal
int DefaultGlobalOrdinal
Definition
MueLu_Details_DefaultTypes.hpp:67
MueLu::DefaultLocalOrdinal
int DefaultLocalOrdinal
Definition
MueLu_Details_DefaultTypes.hpp:60
src
Rebalancing
MueLu_IsorropiaInterface_decl.hpp
Generated by
1.17.0