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
// @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_IsorropiaInterface_decl.hpp
12
*
13
* Created on: Jun 10, 2013
14
* Author: tobias
15
*/
16
17
#ifndef MUELU_ISORROPIAINTERFACE_DECL_HPP_
18
#define MUELU_ISORROPIAINTERFACE_DECL_HPP_
19
20
#include "
MueLu_ConfigDefs.hpp
"
21
22
//#if defined(HAVE_MUELU_ISORROPIA) && defined(HAVE_MPI)
23
24
#include <Xpetra_Matrix_fwd.hpp>
25
#include <Xpetra_VectorFactory_fwd.hpp>
26
#include <Xpetra_CrsGraphFactory_fwd.hpp>
//TODO
27
28
#include "
MueLu_SingleLevelFactoryBase.hpp
"
29
30
#include "
MueLu_Level_fwd.hpp
"
31
#include "
MueLu_FactoryBase_fwd.hpp
"
32
33
#include "
MueLu_AmalgamationInfo_fwd.hpp
"
34
35
namespace
MueLu
{
36
73
74
// FIXME: this class should not be templated
75
template
<
class
LocalOrdinal
=
DefaultLocalOrdinal
,
76
class
GlobalOrdinal
=
DefaultGlobalOrdinal
,
77
class
Node
=
DefaultNode
>
78
class
IsorropiaInterface
:
public
SingleLevelFactoryBase
{
79
typedef
double
Scalar
;
// FIXME This class only works with the Epetra stack, i.e., Scalar = double
80
#undef MUELU_ISORROPIAINTERFACE_SHORT
81
#include "
MueLu_UseShortNames.hpp
"
82
83
public
:
85
86
88
IsorropiaInterface
() {}
89
91
virtual
~IsorropiaInterface
() {}
93
94
RCP<const ParameterList>
GetValidParameterList
()
const
;
95
97
98
void
DeclareInput
(
Level
&level)
const
;
100
102
103
void
Build
(
Level
&level)
const
;
104
106
107
private
:
108
};
// class IsorropiaInterface
109
110
}
// namespace MueLu
111
112
#define MUELU_ISORROPIAINTERFACE_SHORT
113
//#endif //if defined(HAVE_MUELU_ISORROPIA) && defined(HAVE_MPI)
114
115
#endif
/* MUELU_ISORROPIAINTERFACE_DECL_HPP_ */
MueLu_AmalgamationInfo_fwd.hpp
MueLu_ConfigDefs.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::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:51
MueLu::IsorropiaInterface::Build
void Build(Level &level) const
Build an object with this factory.
Definition
MueLu_IsorropiaInterface_def.hpp:58
MueLu::IsorropiaInterface::~IsorropiaInterface
virtual ~IsorropiaInterface()
Destructor.
Definition
MueLu_IsorropiaInterface_decl.hpp:91
MueLu::IsorropiaInterface::IsorropiaInterface
IsorropiaInterface()
Constructor.
Definition
MueLu_IsorropiaInterface_decl.hpp:88
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:40
MueLu::IsorropiaInterface::Scalar
double Scalar
Definition
MueLu_IsorropiaInterface_decl.hpp:79
MueLu::Level
Class that holds all level-specific information.
Definition
MueLu_Level.hpp:63
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_IsorropiaInterface_decl.hpp
Generated by
1.17.0