MueLu Version of the Day
Loading...
Searching...
No Matches
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"
26
27namespace MueLu {
28
34template <class Scalar = DefaultScalar,
37 class Node = DefaultNode>
39#undef MUELU_GENERICRFACTORY_SHORT
41
42 public:
44
45
48
50 virtual ~GenericRFactory() {}
52
54
55 RCP<const ParameterList> GetValidParameterList() const;
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
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
MueLu::DefaultNode Node
Factory for building restriction operators using a prolongator factory.
RCP< const ParameterList > GetValidParameterList() const
Input.
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
Class that holds all level-specific information.
Base class for factories that use two levels (fineLevel and coarseLevel).
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar