MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu_CoarseningVisualizationFactory_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_COARSENINGVISUALIZATIONFACTORY_DECL_HPP_
11 #define MUELU_COARSENINGVISUALIZATIONFACTORY_DECL_HPP_
12 
13 #include <Xpetra_Matrix_fwd.hpp>
14 
15 #include "MueLu_ConfigDefs.hpp"
17 #include "MueLu_VisualizationHelpers.hpp"
19 
20 namespace MueLu {
21 
22 class Level;
23 
51 template <class Scalar = DefaultScalar,
54  class Node = DefaultNode>
55 class CoarseningVisualizationFactory : public TwoLevelFactoryBase, public VisualizationHelpers<Scalar, LocalOrdinal, GlobalOrdinal, Node> {
56 #undef MUELU_COARSENINGVISUALIZATIONFACTORY_SHORT
57 #include "MueLu_UseShortNames.hpp"
58 
59  public:
61 
62 
65 
69 
71 
73 
74 
75  void DeclareInput(Level &fineLevel, Level &coarseLevel) const;
76 
78 
80 
83  void Build(Level &fineLevel, Level &coarseLevel) const;
84 
86 
87 }; // class CoarseningVisualizationFactory
88 } // namespace MueLu
89 
90 #define MUELU_COARSENINGVISUALIZATIONFACTORY_SHORT
91 
92 #endif /* MUELU_COARSENINGVISUALIZATIONFACTORY_DECL_HPP_ */
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
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
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.