47#ifndef MUELU_INVERSEAPPROXIMATIONFACTORY_DECL_HPP_
48#define MUELU_INVERSEAPPROXIMATIONFACTORY_DECL_HPP_
52#include <Teuchos_ParameterList.hpp>
54#include <Xpetra_CrsMatrix_fwd.hpp>
55#include <Xpetra_CrsMatrixWrap_fwd.hpp>
56#include <Xpetra_MapExtractor_fwd.hpp>
57#include <Xpetra_Map_fwd.hpp>
58#include <Xpetra_StridedMap_fwd.hpp>
107#undef MUELU_INVERSEAPPROXIMATIONFACTORY_SHORT
136 RCP<Matrix>
GetSparseInverse(
const RCP<Matrix>& A,
const RCP<const CrsGraph>& sparsityPattern)
const;
142#define MUELU_INVERSEAPPROXIMATIONFACTORY_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Factory for building the approximate inverse of a matrix.
InverseApproximationFactory()=default
Constructor.
void Build(Level ¤tLevel) const
Build an object with this factory.
void DeclareInput(Level ¤tLevel) const
Input.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
RCP< Matrix > GetSparseInverse(const RCP< Matrix > &A, const RCP< const CrsGraph > &sparsityPattern) const
Sparse inverse calculation method.
Class that holds all level-specific information.
Base class for factories that use one level (currentLevel).
Namespace for MueLu classes and methods.
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar