|
dune-istl 2.12-git
|
Loading...
Searching...
No Matches
spqr.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
94 static_assert((std::is_same<field_type,double>::value) || (std::is_same<field_type,std::complex<double> >::value),
112 static_assert((std::is_same<field_type,double>::value) || (std::is_same<field_type,std::complex<double> >::value),
136 static_assert((std::is_same<field_type,double>::value) || (std::is_same<field_type,std::complex<double> >::value),
183 void apply (domain_type& x, range_type& b, [[maybe_unused]] double reduction, InverseOperatorResult& res) override
224 copyToBCCSMatrix(initializer, ISTL::Impl::MatrixRowSubset<Matrix,std::set<std::size_t> >(matrix,rowIndexSet));
Templates characterizing the type of a solver.
Implementations of the inverse operator interface.
DefaultMatrixVectorTraits< M >::range_type range_type
The type of the range of the solver.
Definition spqr.hh:75
void setSubMatrix(const Matrix &matrix, const S &rowIndexSet)
Definition spqr.hh:212
void setMatrix(const Matrix &matrix)
Initialize data from given matrix.
Definition spqr.hh:192
SolverCategory::Category category() const override
Category of the solver (see SolverCategory::Category)
Definition spqr.hh:78
SuiteSparseQR_factorization< field_type > * getFactorization()
Return the matrix factorization.
Definition spqr.hh:247
void setVerbosity(int v)
Sets the verbosity level for the solver.
Definition spqr.hh:238
ISTL::Impl::BCCSMatrixInitializer< M, int > MatrixInitializer
Type of an associated initializer class.
Definition spqr.hh:71
ISTL::Impl::BCCSMatrix< field_type, int > SPQRMatrix
The corresponding SuperLU Matrix type.
Definition spqr.hh:69
void apply(domain_type &x, range_type &b, InverseOperatorResult &res) override
Apply inverse operator,.
Definition spqr.hh:151
void apply(domain_type &x, range_type &b, double reduction, InverseOperatorResult &res) override
apply inverse operator, with given convergence criteria.
Definition spqr.hh:183
FieldTraits< M >::field_type field_type
The type of the entries.
Definition spqr.hh:66
DefaultMatrixVectorTraits< M >::domain_type domain_type
The type of the domain of the solver.
Definition spqr.hh:73
SPQR(const Matrix &matrix, int verbose=0)
Construct a solver object from a BCRSMatrix.
Definition spqr.hh:91
SPQR(const Matrix &matrix, int verbose, bool)
Constructor for compatibility with SuperLU standard constructor.
Definition spqr.hh:109
SPQRMatrix & getInternalMatrix()
Return the column coppressed matrix.
Definition spqr.hh:256
SPQR(const Matrix &matrix, const ParameterTree &config)
Constructs the SPQR solver.
Definition spqr.hh:128
static constexpr size_type M()
#define DUNE_THROW(E,...)
constexpr auto get(std::integer_sequence< T, II... >, std::integral_constant< std::size_t, pos >={})
T field_type
Definition matrixutils.hh:221
Definition defaultmatrixvectortraits.hh:47
std::string get(const std::string &key, const std::string &defaultValue) const
Sequential overlapping Schwarz preconditioner.
Definition overlappingschwarz.hh:755
Definition overlappingschwarz.hh:694
Statistics about the application of an inverse operator.
Definition solver.hh:50
bool converged
True if convergence criterion has been met.
Definition solver.hh:75
@ sequential
Category for sequential solvers.
Definition solvercategory.hh:25
Definition solverregistry.hh:37
Definition solvertype.hh:16
Definition solvertype.hh:30
@ value
whether the solver internally uses column compressed storage
Definition solvertype.hh:36
T clear(T... args)
T endl(T... args)
T resize(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8