MueLu Version of the Day
Loading...
Searching...
No Matches
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
20namespace MueLu {
21
22class Level;
23
51template <class Scalar = DefaultScalar,
54 class Node = DefaultNode>
55class CoarseningVisualizationFactory : public TwoLevelFactoryBase, public VisualizationHelpers<Scalar, LocalOrdinal, GlobalOrdinal, Node> {
56#undef MUELU_COARSENINGVISUALIZATIONFACTORY_SHORT
58
59 public:
61
62
65
69
70 RCP<const ParameterList> GetValidParameterList() const;
71
73
74
75 void DeclareInput(Level &fineLevel, Level &coarseLevel) const;
76
78
80
81
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
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
MueLu::DefaultNode Node
Factory to visualize coarsening information using prolongation operators.
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
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.
Class that holds all level-specific information.
Base class for factories that use two levels (fineLevel and coarseLevel).
Base class providing routines to visualize aggregates and coarsening information.
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar