MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu_TransPFactory_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_TRANSPFACTORY_DECL_HPP
11 #define MUELU_TRANSPFACTORY_DECL_HPP
12 
13 #include <Xpetra_Matrix_fwd.hpp>
14 
15 #include "MueLu_ConfigDefs.hpp"
17 
18 #include "MueLu_Level_fwd.hpp"
19 #include "MueLu_PerfUtils_fwd.hpp"
21 #include "MueLu_Utilities_fwd.hpp"
22 
23 namespace MueLu {
24 
33 template <class Scalar = DefaultScalar,
36  class Node = DefaultNode>
38 #undef MUELU_TRANSPFACTORY_SHORT
39 #include "MueLu_UseShortNames.hpp"
40 
41  public:
43 
44 
47 
49  virtual ~TransPFactory() {}
50 
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 TransPFactory
70 
71 } // namespace MueLu
72 
73 #define MUELU_TRANSPFACTORY_SHORT
74 #endif // MUELU_TRANSPFACTORY_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
virtual ~TransPFactory()
Destructor.
Base class for factories that use two levels (fineLevel and coarseLevel).
MueLu::DefaultNode Node
MueLu::DefaultScalar Scalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
Definition: MueLu_Level.hpp:63
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
Factory for building restriction operators.