MueLu Version of the Day
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#ifdef HAVE_MUELU_EPETRA
29#include <Xpetra_EpetraCrsGraph_fwd.hpp>
30#endif
31
33
34#include "MueLu_Level_fwd.hpp"
36
38
39namespace MueLu {
40
78// FIXME: this class should not be templated
79template <class LocalOrdinal = DefaultLocalOrdinal,
81 class Node = DefaultNode>
83 typedef double Scalar; // FIXME This class only works with the Epetra stack, i.e., Scalar = double
84#undef MUELU_ISORROPIAINTERFACE_SHORT
86
87 public:
89
90
93
97
98 RCP<const ParameterList> GetValidParameterList() const;
99
101
102 void DeclareInput(Level &level) const;
104
106
107 void Build(Level &level) const;
108
110
111 private:
112}; // class IsorropiaInterface
113
114} // namespace MueLu
115
116#define MUELU_ISORROPIAINTERFACE_SHORT
117//#endif //if defined(HAVE_MUELU_ISORROPIA) && defined(HAVE_MPI)
118
119#endif /* MUELU_ISORROPIAINTERFACE_DECL_HPP_ */
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultGlobalOrdinal GlobalOrdinal
MueLu::DefaultNode Node
void DeclareInput(Level &level) const
Specifies the data that this class needs, and the factories that generate that data.
void Build(Level &level) const
Build an object with this factory.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
Class that holds all level-specific information.
Base class for factories that use one level (currentLevel).
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode