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" 118 template <
class Scalar = double,
119 class LocalOrdinal = int,
120 class GlobalOrdinal = LocalOrdinal,
121 class Node = KokkosClassic::DefaultNode::DefaultNodeType>
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;
160 bool isGoodMap(
const Map& rowMap,
const Map& colMap)
const;
170 #define MUELU_TENTATIVEPFACTORY_SHORT 171 #endif // MUELU_TENTATIVEPFACTORY_DECL_HPP TentativePFactory()
Constructor.
void BuildP(Level &fineLevel, Level &coarseLevel) const
Abstract Build method.
bool bTransferCoordinates_
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
Namespace for MueLu classes and methods.
Factory for building tentative prolongator.
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
Class that holds all level-specific information.
virtual ~TentativePFactory()
Destructor.
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 Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
Factory that provides an interface for a concrete implementation of a prolongation operator...
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
bool isGoodMap(const Map &rowMap, const Map &colMap) const