MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu_RfromP_Or_TransP_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_RFROMP_OR_TRANSP_DECL_HPP
11#define MUELU_RFROMP_OR_TRANSP_DECL_HPP
12
13#include <Xpetra_Matrix_fwd.hpp>
14
15#include "MueLu_ConfigDefs.hpp"
17
18#include "MueLu_Level_fwd.hpp"
22
23namespace MueLu {
24
33template <class Scalar = DefaultScalar,
36 class Node = DefaultNode>
38#undef MUELU_RFROMP_OR_TRANSP_SHORT
40
41 public:
43
44
47
49 virtual ~RfromP_Or_TransP() {}
50
51 RCP<const ParameterList> GetValidParameterList() const;
52
54
56
57
58 void DeclareInput(Level &fineLevel, Level &coarseLevel) const;
59
61
63
64
65 void Build(Level &fineLevel, Level &coarseLevel) const;
66
68
69}; // class RfromP_Or_TransP
70
71} // namespace MueLu
72
73#define MUELU_RFROMP_OR_TRANSP_SHORT
74#endif // MUELU_RFROMP_OR_TRANSP_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
MueLu::DefaultNode Node
Class that holds all level-specific information.
Factory for building restriction operators.
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
void Build(Level &fineLevel, Level &coarseLevel) 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 two levels (fineLevel and coarseLevel).
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar