MueLu Version of the Day
Loading...
Searching...
No Matches
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
18namespace MueLu {
19
56template <class Scalar = DefaultScalar,
59 class Node = DefaultNode>
60class UnsmooshFactory : public PFactory {
61#undef MUELU_UNSMOOSHFACTORY_SHORT
63
64 public:
66
67
70
72 virtual ~UnsmooshFactory() {}
73
74 RCP<const ParameterList> GetValidParameterList() const;
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
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
MueLu::DefaultNode Node
Class that holds all level-specific information.
Factory that provides an interface for a concrete implementation of a prolongation operator.
Factory for building "unsmooshed" transfer operators from transfer operators associated with a scalar...
void BuildP(Level &, Level &) const
Abstract Build method.
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
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.
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar