MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu_UnsmooshFactory_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 PACKAGES_MUELU_SRC_GRAPH_MUELU_UNSMOOSHFACTORY_DECL_HPP_
11 #define PACKAGES_MUELU_SRC_GRAPH_MUELU_UNSMOOSHFACTORY_DECL_HPP_
12 
13 #include "MueLu_ConfigDefs.hpp"
14 #include "MueLu_PFactory.hpp"
16 #include "MueLu_Level_fwd.hpp"
17 
18 namespace MueLu {
19 
56 template <class Scalar = DefaultScalar,
59  class Node = DefaultNode>
60 class UnsmooshFactory : public PFactory {
61 #undef MUELU_UNSMOOSHFACTORY_SHORT
62 #include "MueLu_UseShortNames.hpp"
63 
64  public:
66 
67 
70 
72  virtual ~UnsmooshFactory() {}
73 
75 
77 
79 
80 
81  void DeclareInput(Level &fineLevel, Level &coarseLevel) const;
82 
84 
85  void Build(Level &fineLevel, Level &coarseLevel) const; // Build
86  void BuildP(Level & /* fineLevel */, Level & /* coarseLevel */) const {}; // TAW no real need for an extra BuildP routine. Just use Build
87 
88  private:
89 }; // class UnsmooshFactory
90 
91 } // namespace MueLu
92 
93 #define MUELU_UNSMOOSHFACTORY_SHORT
94 
95 #endif /* PACKAGES_MUELU_SRC_GRAPH_MUELU_UNSMOOSHFACTORY_DECL_HPP_ */
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
virtual ~UnsmooshFactory()
Destructor.
MueLu::DefaultNode Node
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
MueLu::DefaultScalar Scalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
Class that holds all level-specific information.
Definition: MueLu_Level.hpp:63
void BuildP(Level &, Level &) const
Abstract Build method.
Factory that provides an interface for a concrete implementation of a prolongation operator...
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
Factory for building &quot;unsmooshed&quot; transfer operators from transfer operators associated with a scalar...