MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu_MultiVectorTransferFactory_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_MULTIVECTORTRANSFER_FACTORY_DECL_HPP
11#define MUELU_MULTIVECTORTRANSFER_FACTORY_DECL_HPP
12
13#include "MueLu_ConfigDefs.hpp"
15#include "Xpetra_MultiVector_fwd.hpp"
16#include "Xpetra_MultiVectorFactory_fwd.hpp"
17#include "Xpetra_Matrix_fwd.hpp"
21
22namespace MueLu {
23
31template <class Scalar = DefaultScalar,
34 class Node = DefaultNode>
36#undef MUELU_MULTIVECTORTRANSFERFACTORY_SHORT
38
39 public:
41
42
52
55
56 RCP<const ParameterList> GetValidParameterList() const;
57
59
61
62
68 void DeclareInput(Level &finelevel, Level &coarseLevel) const;
69
71
73
74
76 void Build(Level &fineLevel, Level &coarseLevel) const;
77
79
80}; // class MultiVectorTransferFactory
81
82} // namespace MueLu
83
84#define MUELU_MULTIVECTORTRANSFERFACTORY_SHORT
85#endif // MUELU_MULTIVECTORTRANSFER_FACTORY_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
MueLu::DefaultNode Node
Class that holds all level-specific information.
Class for restricting a MultiVector from a finer to a coarser level.
void DeclareInput(Level &finelevel, Level &coarseLevel) const
Specifies the data that this class needs, and the factories that generate that data.
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
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