MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu_RebalanceMapFactory_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#ifndef MUELU_REBALANCEMAPFACTORY_DECL_HPP_
11#define MUELU_REBALANCEMAPFACTORY_DECL_HPP_
12
13#include <Xpetra_MapFactory_fwd.hpp>
14#include <Xpetra_VectorFactory_fwd.hpp>
15#include <Xpetra_Import_fwd.hpp>
16#include <Xpetra_ImportFactory_fwd.hpp>
17
20
21#include "MueLu_Level_fwd.hpp"
23
24namespace MueLu {
25
31template <class LocalOrdinal = DefaultLocalOrdinal,
33 class Node = DefaultNode>
35 typedef DefaultScalar Scalar; // FIXME this is just a dummy scalar for being able to access Xpetra::Matrix
36
37#undef MUELU_REBALANCEMAPFACTORY_SHORT
39
40 public:
42
43
46
50
51 RCP<const ParameterList> GetValidParameterList() const;
52
54
55 void DeclareInput(Level &level) const;
57
59
60 void Build(Level &level) const;
61
63};
64
65} // namespace MueLu
66
67#define MUELU_REBALANCEMAPFACTORY_SHORT
68
69#endif /* MUELU_REBALANCEMAPFACTORY_DECL_HPP_ */
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultGlobalOrdinal GlobalOrdinal
MueLu::DefaultNode Node
Class that holds all level-specific information.
Factory which rebalances a map on current level using the Importer object generated by the Repartitio...
void Build(Level &level) const
Build an object with this factory.
void DeclareInput(Level &level) const
Specifies the data that this class needs, and the factories that generate that data.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
Base class for factories that use one level (currentLevel).
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar