MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu_RepartitionBlockDiagonalFactory_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_REPARTITIONBLOCKDIAGONALFACTORY_DECL_HPP_
11#define MUELU_REPARTITIONBLOCKDIAGONALFACTORY_DECL_HPP_
12
13#include <Xpetra_Import_fwd.hpp>
14
17
18#include "MueLu_Level_fwd.hpp"
20
21namespace MueLu {
22
28template <class Scalar = DefaultScalar,
31 class Node = DefaultNode>
33#undef MUELU_REPARTITIONBLOCKDIAGONALFACTORY_SHORT
35
36 public:
38
39
42
46
47 RCP<const ParameterList> GetValidParameterList() const;
48
50
51 void DeclareInput(Level &level) const;
53
55
56 void Build(Level &level) const;
57
59};
60
61} // namespace MueLu
62
63#define MUELU_REPARTITIONBLOCKDIAGONALFACTORY_SHORT
64
65#endif /* MUELU_REPARTITIONBLOCKDIAGONALFACTORY_DECL_HPP_ */
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
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.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
void DeclareInput(Level &level) const
Specifies the data that this class needs, and the factories that generate that data.
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