MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu_CoordinatesTransferFactory_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_COORDINATESTRANSFER_FACTORY_DECL_HPP
11#define MUELU_COORDINATESTRANSFER_FACTORY_DECL_HPP
12
13#include "MueLu_ConfigDefs.hpp"
15#include "Xpetra_MultiVector_fwd.hpp"
16#include "Xpetra_MultiVectorFactory_fwd.hpp"
17
19
21
22namespace MueLu {
23
61template <class Scalar = DefaultScalar,
64 class Node = DefaultNode>
66 public:
70 typedef typename Node::execution_space execution_space;
71
72 private:
73#undef MUELU_COORDINATESTRANSFERFACTORY_SHORT
75
76 public:
78
79
89
92
93 RCP<const ParameterList> GetValidParameterList() const;
94
96
98
99
105 void DeclareInput(Level &finelevel, Level &coarseLevel) const;
106
108
110
111
113 void Build(Level &fineLevel, Level &coarseLevel) const;
114
116
117 private:
118}; // class CoordinatesTransferFactory
119
120} // namespace MueLu
121
122#define MUELU_COORDINATESTRANSFERFACTORY_SHORT
123#endif // MUELU_COORDINATESTRANSFER_FACTORY_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
MueLu::DefaultNode Node
Class for transferring coordinates from a finer level to a coarser one.
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.
void DeclareInput(Level &finelevel, Level &coarseLevel) const
Specifies the data that this class needs, and the factories that generate that data.
virtual ~CoordinatesTransferFactory()
Destructor.
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