MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu_RepartitionInterface_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_RepartitionInterface_decl.hpp
12 *
13 * Created on: 5 Sep 2013
14 * Author: wiesner
15 */
16
17#ifndef MUELU_REPARTITIONINTERFACE_DECL_HPP_
18#define MUELU_REPARTITIONINTERFACE_DECL_HPP_
19
20#include <Xpetra_Map_fwd.hpp>
21#include <Xpetra_Matrix_fwd.hpp>
22#include <Xpetra_VectorFactory_fwd.hpp>
23
25
26#include "MueLu_Level_fwd.hpp"
28
29namespace MueLu {
30
76// FIXME: this class should not be templated
77template <class LocalOrdinal = DefaultLocalOrdinal,
79 class Node = DefaultNode>
81 typedef double Scalar; // FIXME
82#undef MUELU_REPARTITIONINTERFACE_SHORT
84
85 public:
87
88
91
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 private:
110}; // class RepartitionInterface
111
112} // namespace MueLu
113
114#define MUELU_REPARTITIONINTERFACE_SHORT
115#endif /* MUELU_REPARTITIONINTERFACE_DECL_HPP_ */
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultGlobalOrdinal GlobalOrdinal
MueLu::DefaultNode Node
Class that holds all level-specific information.
Helper class which transforms an "AmalgamatedPartition" array to an unamalgamated "Partition".
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.
Base class for factories that use one level (currentLevel).
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode