MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu_GenericRFactory_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_GENERICRFACTORY_DECL_HPP
11 #define MUELU_GENERICRFACTORY_DECL_HPP
12 
13 /*
14  * MueLu_GenericRFactory.hpp
15  *
16  * Created on: 20.09.2011
17  * Author: tobias
18  */
19 
20 #include "MueLu_ConfigDefs.hpp"
23 
24 #include "MueLu_Level_fwd.hpp"
25 #include "MueLu_PFactory_fwd.hpp"
26 
27 namespace MueLu {
28 
34 template <class Scalar = DefaultScalar,
37  class Node = DefaultNode>
39 #undef MUELU_GENERICRFACTORY_SHORT
40 #include "MueLu_UseShortNames.hpp"
41 
42  public:
44 
45 
48 
50  virtual ~GenericRFactory() {}
52 
54 
56 
57  void DeclareInput(Level &fineLevel, Level &coarseLevel) const;
58 
60 
62 
63 
64  void Build(Level &fineLevel, Level &coarseLevel) const;
65 
67 
68 }; // class GenericRFactory
69 
70 } // namespace MueLu
71 
72 #define MUELU_GENERICRFACTORY_SHORT
73 #endif // MUELU_GENERICRFACTORY_DECL_HPP
RCP< const ParameterList > GetValidParameterList() const
Input.
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Base class for factories that use two levels (fineLevel and coarseLevel).
MueLu::DefaultNode Node
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
Factory for building restriction operators using a prolongator factory.
MueLu::DefaultScalar Scalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
Definition: MueLu_Level.hpp:63
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
virtual ~GenericRFactory()
Destructor.