#include <deal.II/lac/precondition.h>
|
void | initialize (const MatrixType &A, const typename BaseClass::AdditionalData ¶meters=typename BaseClass::AdditionalData()) |
|
template<class VectorType > |
void | vmult (VectorType &, const VectorType &) const |
|
template<class VectorType > |
void | Tvmult (VectorType &, const VectorType &) const |
|
template<class VectorType > |
void | step (VectorType &x, const VectorType &rhs) const |
|
template<class VectorType > |
void | Tstep (VectorType &x, const VectorType &rhs) const |
|
void | initialize (const SparseMatrix< double > &A, const AdditionalData ¶meters=AdditionalData()) |
|
void | clear () |
|
size_type | m () const |
|
size_type | n () const |
|
template<typename MatrixType = SparseMatrix<double>>
class PreconditionSSOR< MatrixType >
SSOR preconditioner using matrix built-in function. The MatrixType
class used is required to have a function precondition_SSOR(VectorType&, const VectorType&, double)
. This class satisfies the relaxation concept.
solver.solve (
A, x,
b, precondition);
SmartPointer< const SparseMatrix< double >, PreconditionRelaxation< SparseMatrix< double > > > A
typename PreconditionRelaxation< MatrixType >::AdditionalData AdditionalData
void initialize(const MatrixType &A, const typename BaseClass::AdditionalData ¶meters=typename BaseClass::AdditionalData())
SymmetricTensor< 2, dim, Number > b(const Tensor< 2, dim, Number > &F)
Definition at line 650 of file precondition.h.
◆ initialize()
Initialize matrix and relaxation parameter. The matrix is just stored in the preconditioner object. The relaxation parameter should be larger than zero and smaller than 2 for numerical reasons. It defaults to 1.
◆ clear()
Release the matrix and reset its pointer.
◆ m()
Return the dimension of the codomain (or range) space. Note that the matrix is of dimension \(m \times n\).
◆ n()
Return the dimension of the domain space. Note that the matrix is of dimension \(m \times n\).
◆ relaxation
The documentation for this class was generated from the following file: