MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu_MatrixTransferFactory_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_MATRIXTRANSFERFACTORY_DECL_HPP
11#define MUELU_MATRIXTRANSFERFACTORY_DECL_HPP
12
13#include "MueLu_ConfigDefs.hpp"
15#include "Xpetra_Matrix_fwd.hpp"
17
18namespace MueLu {
19
26
27template <class Scalar = DefaultScalar,
30 class Node = DefaultNode>
32#undef MUELU_MATRIXTRANSFERFACTORY_SHORT
34
35 public:
37
38
48
50 virtual ~MatrixTransferFactory() = default;
51
52 RCP<const ParameterList> GetValidParameterList() const;
53
55
57
58
64 void DeclareInput(Level &finelevel, Level &coarseLevel) const;
65
67
69
70
72 void Build(Level &fineLevel, Level &coarseLevel) const;
73
75
76}; // class MatrixTransferFactory
77
78} // namespace MueLu
79
80#define MUELU_MATRIXTRANSFERFACTORY_SHORT
81#endif // MUELU_MATRIXTRANSFER_FACTORY_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
MueLu::DefaultNode Node
Class that holds all level-specific information.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
MatrixTransferFactory()=default
Constructor.
virtual ~MatrixTransferFactory()=default
Destructor.
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
void DeclareInput(Level &finelevel, Level &coarseLevel) const
Specifies the data that this class needs, and the factories that generate that data.
TwoLevelFactoryBase()
Constructor.
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar