46 #ifndef MUELU_CONSTRAINT_DECL_HPP 47 #define MUELU_CONSTRAINT_DECL_HPP 49 #include <Teuchos_SerialDenseMatrix.hpp> 51 #include <Xpetra_MultiVector_fwd.hpp> 52 #include <Xpetra_Matrix_fwd.hpp> 53 #include <Xpetra_CrsGraph_fwd.hpp> 57 #include "MueLu_Utilities.hpp" 102 template<
class Scalar = double,
103 class LocalOrdinal = int,
104 class GlobalOrdinal = LocalOrdinal,
105 class Node = KokkosClassic::DefaultNode::DefaultNodeType>
107 #undef MUELU_CONSTRAINT_SHORT 124 void Setup(
const MultiVector& B,
const MultiVector& Bc, RCP<const CrsGraph> Ppattern);
132 void Apply(
const Matrix& P, Matrix& Projected)
const;
143 ArrayRCP<Teuchos::SerialDenseMatrix<LO,SC> >
XXtInv_;
148 #define MUELU_CONSTRAINT_SHORT 149 #endif // MUELU_CONSTRAINT_DECL_HPP void Setup(const MultiVector &B, const MultiVector &Bc, RCP< const CrsGraph > Ppattern)
Constraint space information for the potential prolongator.
Namespace for MueLu classes and methods.
RCP< const CrsGraph > GetPattern() const
ArrayRCP< Teuchos::SerialDenseMatrix< LO, SC > > XXtInv_
Array storing .
RCP< const CrsGraph > Ppattern_
Nonzero sparsity pattern.
Base class for MueLu classes.
void Apply(const Matrix &P, Matrix &Projected) const
Apply constraint.
RCP< MultiVector > X_
Overlapped coarse nullspace.