10#ifndef MUELU_INVERSEAPPROXIMATIONFACTORY_DECL_HPP_
11#define MUELU_INVERSEAPPROXIMATIONFACTORY_DECL_HPP_
15#include <Teuchos_ParameterList.hpp>
17#include <Xpetra_CrsMatrix_fwd.hpp>
18#include <Xpetra_Map_fwd.hpp>
64#undef MUELU_INVERSEAPPROXIMATIONFACTORY_SHORT
93 RCP<Matrix>
GetSparseInverse(
const RCP<Matrix>& A,
const RCP<const CrsGraph>& sparsityPattern)
const;
99#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.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar