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"
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
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Base class for MueLu classes.
Constraint space information for the potential prolongator.
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.
ArrayRCP< Teuchos::SerialDenseMatrix< LO, SC > > XXtInv_
Array storing .
RCP< const CrsGraph > GetPattern() const
void Apply(const Matrix &P, Matrix &Projected) const
Apply constraint.
Namespace for MueLu classes and methods.
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar