10#ifndef MUELU_CONSTRAINT_DECL_HPP
11#define MUELU_CONSTRAINT_DECL_HPP
13#include <Teuchos_SerialDenseMatrix.hpp>
15#include <Xpetra_MultiVector_fwd.hpp>
16#include <Xpetra_Matrix_fwd.hpp>
17#include <Xpetra_CrsGraph_fwd.hpp>
70#undef MUELU_CONSTRAINT_SHORT
86 void Setup(
const MultiVector& B,
const MultiVector& Bc, RCP<const CrsGraph> Ppattern);
94 void Apply(
const Matrix& P, Matrix& Projected)
const;
105 ArrayRCP<Teuchos::SerialDenseMatrix<LO, SC> >
XXtInv_;
110#define MUELU_CONSTRAINT_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Base class for MueLu classes.
Constraint space information for the potential prolongator.
ArrayRCP< Teuchos::SerialDenseMatrix< LO, SC > > XXtInv_
Array storing .
void Setup(const MultiVector &B, const MultiVector &Bc, RCP< const CrsGraph > Ppattern)
RCP< const CrsGraph > Ppattern_
Nonzero sparsity pattern.
RCP< MultiVector > X_
Overlapped coarse nullspace.
RCP< const CrsGraph > GetPattern() const
void Apply(const Matrix &P, Matrix &Projected) const
Apply constraint.
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar