16#ifndef dealii_sparse_decomposition_h
17#define dealii_sparse_decomposition_h
106template <
typename number>
210 template <
typename somenumber>
244 template <
class OutVector,
class InVector>
255 template <
class OutVector,
class InVector>
276 <<
"The strengthening parameter " << arg1
277 <<
" is not greater or equal than zero!");
284 template <
typename somenumber>
345template <
typename number>
349 const size_type )
const
351 return strengthen_diagonal;
356template <
typename number>
364template <
typename number>
372template <
typename number>
383template <
typename number>
384template <
class OutVector,
class InVector>
387 const InVector &src)
const
391 this->vmult(tmp, src);
399template <
typename number>
400template <
class OutVector,
class InVector>
403 const InVector &src)
const
407 this->Tvmult(tmp, src);
414template <
typename number>
416 const double strengthen_diag,
417 const unsigned int extra_off_diag,
418 const bool use_prev_sparsity,
420 : strengthen_diagonal(strengthen_diag)
421 , extra_off_diagonals(extra_off_diag)
422 , use_previous_sparsity(use_prev_sparsity)
423 , use_this_sparsity(use_this_spars)
unsigned int extra_off_diagonals
AdditionalData(const double strengthen_diagonal=0., const unsigned int extra_off_diagonals=0, const bool use_previous_sparsity=false, const SparsityPattern *use_this_sparsity=nullptr)
double strengthen_diagonal
bool use_previous_sparsity
const SparsityPattern * use_this_sparsity
virtual number get_strengthen_diagonal(const number rowsum, const size_type row) const
virtual void strengthen_diagonal_impl()
void Tvmult_add(OutVector &dst, const InVector &src) const
typename SparseMatrix< number >::size_type size_type
double strengthen_diagonal
virtual ~SparseLUDecomposition() override=0
void vmult_add(OutVector &dst, const InVector &src) const
void copy_from(const SparseMatrix< somenumber > &matrix)
virtual std::size_t memory_consumption() const
std::vector< const size_type * > prebuilt_lower_bound
virtual void clear() override
void prebuild_lower_bound()
void initialize(const SparseMatrix< somenumber > &matrix, const AdditionalData parameters)
SparsityPattern * own_sparsity
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcInvalidStrengthening(double arg1)
#define DeclException1(Exception1, type1, outsequence)