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 <Teuchos_ScalarTraits.hpp>
14#include <Teuchos_SerialDenseMatrix.hpp>
15#include <Teuchos_SerialQRDenseSolver.hpp>
16
17#include <Xpetra_CrsMatrix_fwd.hpp>
18#include <Xpetra_Matrix_fwd.hpp>
19#include <Xpetra_MapFactory_fwd.hpp>
20#include <Xpetra_Map_fwd.hpp>
21#include <Xpetra_Import_fwd.hpp>
22#include <Xpetra_CrsMatrixWrap_fwd.hpp>
23
24#include "MueLu_ConfigDefs.hpp"
26
27#include "MueLu_Level_fwd.hpp"
28#include "MueLu_PFactory.hpp"
30
31namespace MueLu {
32
65template <class Scalar = DefaultScalar,
68 class Node = DefaultNode>
70#undef MUELU_REITZINGERPFACTORY_SHORT
72
73 public:
75
76
79
83
84 RCP<const ParameterList> GetValidParameterList() const;
85
87
88
89 void DeclareInput(Level& fineLevel, Level& coarseLevel) const;
90
92
94
95
96 void Build(Level& fineLevel, Level& coarseLevel) const;
97 void BuildP(Level& fineLevel, Level& coarseLevel) const;
98
100
102
103 void CheckCommutingProperty(const Matrix& Pe, const Matrix& D0_c, const Matrix& D0_f, const Matrix& Pn) const;
105
106 private:
107}; // class ReitzingerPFactory
108
109} // namespace MueLu
110
111#define MUELU_REITZINGERPFACTORY_SHORT
112#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