46 #ifndef MUELU_TENTATIVEPFACTORY_DECL_HPP
47 #define MUELU_TENTATIVEPFACTORY_DECL_HPP
49 #include <Teuchos_ScalarTraits.hpp>
50 #include <Teuchos_SerialDenseMatrix.hpp>
51 #include <Teuchos_SerialQRDenseSolver.hpp>
53 #include <Xpetra_CrsMatrix_fwd.hpp>
54 #include <Xpetra_Matrix_fwd.hpp>
55 #include <Xpetra_MultiVector_fwd.hpp>
56 #include <Xpetra_MapFactory_fwd.hpp>
57 #include <Xpetra_Map_fwd.hpp>
58 #include <Xpetra_Matrix_fwd.hpp>
59 #include <Xpetra_MultiVector_fwd.hpp>
60 #include <Xpetra_MultiVectorFactory_fwd.hpp>
61 #include <Xpetra_Import_fwd.hpp>
62 #include <Xpetra_ImportFactory_fwd.hpp>
63 #include <Xpetra_CrsMatrixWrap_fwd.hpp>
74 #include "MueLu_PFactory.hpp"
123 #undef MUELU_TENTATIVEPFACTORY_SHORT
156 void BuildPuncoupled(RCP<Matrix> A, RCP<Aggregates> aggregates, RCP<AmalgamationInfo> amalgInfo, RCP<MultiVector> fineNullspace,
157 RCP<const Map> coarseMap, RCP<Matrix>& Ptentative, RCP<MultiVector>& coarseNullspace,
const int levelID)
const;
158 void BuildPcoupled (RCP<Matrix> A, RCP<Aggregates> aggregates, RCP<AmalgamationInfo> amalgInfo, RCP<MultiVector> fineNullspace,
159 RCP<const Map> coarseMap, RCP<Matrix>& Ptentative, RCP<MultiVector>& coarseNullspace)
const;
169 #define MUELU_TENTATIVEPFACTORY_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
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.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
void BuildPuncoupled(RCP< Matrix > A, RCP< Aggregates > aggregates, RCP< AmalgamationInfo > amalgInfo, RCP< MultiVector > fineNullspace, RCP< const Map > coarseMap, RCP< Matrix > &Ptentative, RCP< MultiVector > &coarseNullspace, const int levelID) const
void BuildP(Level &fineLevel, Level &coarseLevel) const
Abstract Build method.
TentativePFactory()
Constructor.
bool bTransferCoordinates_
virtual ~TentativePFactory()
Destructor.
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
void BuildPcoupled(RCP< Matrix > A, RCP< Aggregates > aggregates, RCP< AmalgamationInfo > amalgInfo, RCP< MultiVector > fineNullspace, RCP< const Map > coarseMap, RCP< Matrix > &Ptentative, RCP< MultiVector > &coarseNullspace) const
Namespace for MueLu classes and methods.
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode