MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu_NodePartitionInterface_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_NODEPARTITIONINTERFACE_DECL_HPP
11#define MUELU_NODEPARTITIONINTERFACE_DECL_HPP
12
13#include "MueLu_ConfigDefs.hpp"
14
15#if defined(HAVE_MPI)
16
17#include <Xpetra_Matrix_fwd.hpp>
18#include <Xpetra_VectorFactory_fwd.hpp>
19
22
23#include "MueLu_Level_fwd.hpp"
25
26namespace MueLu {
27
70// FIXME: this class should not be templated
71template <class Scalar,
74 class Node = DefaultNode>
76#undef MUELU_NODEPARTITIONINTERFACE_SHORT
78
79 public:
81
82
85
89
90 RCP<const ParameterList> GetValidParameterList() const;
91
93
94 void DeclareInput(Level& currentLevel) const;
96
98
99 void Build(Level& currentLevel) const;
100
102
103 private:
104 RCP<ParameterList> defaultNodePartitionParams;
105
106}; // class NodePartitionInterface
107
108} // namespace MueLu
109
110#define MUELU_NODEPARTITIONINTERFACE_SHORT
111#endif // if defined(HAVE_MPI)
112
113#endif // MUELU_NODEPARTITIONINTERFACE_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
MueLu::DefaultNode Node
Class that holds all level-specific information.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
void DeclareInput(Level &currentLevel) const
Specifies the data that this class needs, and the factories that generate that data.
void Build(Level &currentLevel) const
Build an object with this factory.
Base class for factories that use one level (currentLevel).
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode