16#ifndef dealii_relaxation_block_h
17#define dealii_relaxation_block_h
54template <
typename MatrixType,
55 typename InverseNumberType =
typename MatrixType::value_type,
63 using number =
typename MatrixType::value_type;
173 std::vector<std::vector<unsigned int>>
order;
241 const VectorType &prev,
242 const VectorType &src,
243 const bool backward)
const;
284template <
typename MatrixType,
285 typename InverseNumberType =
typename MatrixType::value_type,
300 using number =
typename MatrixType::value_type;
343 step(VectorType &dst,
const VectorType &rhs)
const;
349 Tstep(VectorType &dst,
const VectorType &rhs)
const;
356 vmult(VectorType &dst,
const VectorType &rhs)
const;
363 Tvmult(VectorType &dst,
const VectorType &rhs)
const;
380template <
typename MatrixType,
381 typename InverseNumberType =
typename MatrixType::value_type,
396 using number =
typename MatrixType::value_type;
439 step(VectorType &dst,
const VectorType &rhs)
const;
445 Tstep(VectorType &dst,
const VectorType &rhs)
const;
452 vmult(VectorType &dst,
const VectorType &rhs)
const;
459 Tvmult(VectorType &dst,
const VectorType &rhs)
const;
476template <
typename MatrixType,
477 typename InverseNumberType =
typename MatrixType::value_type,
487 using number =
typename MatrixType::value_type;
530 step(VectorType &dst,
const VectorType &rhs)
const;
536 Tstep(VectorType &dst,
const VectorType &rhs)
const;
543 vmult(VectorType &dst,
const VectorType &rhs)
const;
550 Tvmult(VectorType &dst,
const VectorType &rhs)
const;
void log_statistics() const
Householder< number > & inverse_householder(size_type i)
unsigned int size() const
FullMatrix< number > & inverse(size_type i)
LAPACKFullMatrix< number > & inverse_svd(size_type i)
void Tstep(VectorType &dst, const VectorType &rhs) const
void Tvmult(VectorType &dst, const VectorType &rhs) const
void vmult(VectorType &dst, const VectorType &rhs) const
void step(VectorType &dst, const VectorType &rhs) const
typename MatrixType::value_type number
void Tvmult(VectorType &dst, const VectorType &rhs) const
void step(VectorType &dst, const VectorType &rhs) const
void vmult(VectorType &dst, const VectorType &rhs) const
typename MatrixType::value_type number
void Tstep(VectorType &dst, const VectorType &rhs) const
void Tstep(VectorType &dst, const VectorType &rhs) const
void Tvmult(VectorType &dst, const VectorType &rhs) const
typename MatrixType::value_type number
void step(VectorType &dst, const VectorType &rhs) const
void vmult(VectorType &dst, const VectorType &rhs) const
AdditionalData(const double relaxation=1., const bool invert_diagonal=true, const bool same_diagonal=false, const typename PreconditionBlockBase< InverseNumberType >::Inversion inversion=PreconditionBlockBase< InverseNumberType >::gauss_jordan, const double threshold=0., VectorType *temp_ghost_vector=nullptr)
PreconditionBlockBase< InverseNumberType >::Inversion inversion
SparsityPattern block_list
std::size_t memory_consumption() const
VectorType * temp_ghost_vector
std::vector< std::vector< unsigned int > > order
void initialize(const MatrixType &A, const AdditionalData ¶meters)
void block_kernel(const size_type block_begin, const size_type block_end)
void do_step(VectorType &dst, const VectorType &prev, const VectorType &src, const bool backward) const
SmartPointer< const AdditionalData, RelaxationBlock< MatrixType, InverseNumberType, VectorType > > additional_data
SmartPointer< const MatrixType, RelaxationBlock< MatrixType, InverseNumberType, VectorType > > A
typename MatrixType::value_type number
InverseNumberType value_type
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
unsigned int global_dof_index