MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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"
17 #include "Xpetra_Matrix_fwd.hpp"
19 
20 namespace MueLu {
21 
29 template <class Scalar = DefaultScalar,
32  class Node = DefaultNode>
34 #undef MUELU_MULTIVECTORTRANSFERFACTORY_SHORT
35 #include "MueLu_UseShortNames.hpp"
36 
37  public:
39 
40 
50 
51  MultiVectorTransferFactory(std::string const &vectorName); // deprecated
52 
55 
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  private:
82 
83 }; // class MultiVectorTransferFactory
84 
85 } // namespace MueLu
86 
87 #define MUELU_MULTIVECTORTRANSFERFACTORY_SHORT
88 #endif // MUELU_MULTIVECTORTRANSFER_FACTORY_DECL_HPP
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Class for restricting a MultiVector from a finer to a coarser level.
Base class for factories that use two levels (fineLevel and coarseLevel).
void DeclareInput(Level &finelevel, Level &coarseLevel) const
Specifies the data that this class needs, and the factories that generate that data.
MueLu::DefaultNode Node
MueLu::DefaultScalar Scalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
Definition: MueLu_Level.hpp:63
static ArrayRCP< SC > expandCoordinates(ArrayRCP< SC > coord, LocalOrdinal blksize)
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.