MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu_ReitzingerPFactory_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_REITZINGERPFACTORY_DECL_HPP
11#define MUELU_REITZINGERPFACTORY_DECL_HPP
12
13#include <Xpetra_CrsMatrix_fwd.hpp>
14#include <Xpetra_Matrix_fwd.hpp>
15#include <Xpetra_MapFactory_fwd.hpp>
16#include <Xpetra_Map_fwd.hpp>
17#include <Xpetra_Import_fwd.hpp>
18#include <Xpetra_CrsMatrixWrap_fwd.hpp>
19
20#include "MueLu_ConfigDefs.hpp"
22
23#include "MueLu_Level_fwd.hpp"
24#include "MueLu_PFactory.hpp"
26
27namespace MueLu {
28
60template <class Scalar = DefaultScalar,
63 class Node = DefaultNode>
65#undef MUELU_REITZINGERPFACTORY_SHORT
67
68 public:
70
71
74
78
79 RCP<const ParameterList> GetValidParameterList() const;
80
82
83
84 void DeclareInput(Level& fineLevel, Level& coarseLevel) const;
85
87
89
90
91 void Build(Level& fineLevel, Level& coarseLevel) const;
92 void BuildP(Level& fineLevel, Level& coarseLevel) const;
93
95
97
98 void CheckCommutingProperty(const Matrix& Pe, const Matrix& D0_c, const Matrix& D0_f, const Matrix& Pn) const;
100
101 private:
102}; // class ReitzingerPFactory
103
104} // namespace MueLu
105
106#define MUELU_REITZINGERPFACTORY_SHORT
107#endif // MUELU_REITZINGERPFACTORY_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
MueLu::DefaultNode Node
Class that holds all level-specific information.
Factory that provides an interface for a concrete implementation of a prolongation operator.
Factory for building tentative prolongator.
void BuildP(Level &fineLevel, Level &coarseLevel) const
Abstract Build method.
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
void CheckCommutingProperty(const Matrix &Pe, const Matrix &D0_c, const Matrix &D0_f, const Matrix &Pn) const
Utility method.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar