NGSolve
4.9
|
Base class for Block - Jacobi and Block Gauss Seidel smoother. More...
#include <blockjacobi.hpp>
Public Member Functions | |
BaseBlockJacobiPrecond (Table< int > &ablocktable) | |
the blocktable define the blocks. ATTENTION: entries will be reordered ! | |
virtual | ~BaseBlockJacobiPrecond () |
deletes the table | |
virtual void | GSSmooth (BaseVector &x, const BaseVector &b, int steps=1) const =0 |
performs steps Gauss-Seidel steps for the equation A x = b | |
virtual void | GSSmoothPartial (BaseVector &x, const BaseVector &b, BaseVector &y) const |
performs steps Gauss-Seidel steps for the equation A x = b with partial residual y | |
virtual void | GSSmoothResiduum (BaseVector &x, const BaseVector &b, BaseVector &res, int steps=1) const =0 |
does smoothing. The vector res contains the residuum (b-Ax) before and after the smoothing | |
virtual void | GSSmoothBack (BaseVector &x, const BaseVector &b, int steps=1) const =0 |
does smoothing in reversed order | |
virtual void | GSSmoothBackPartial (BaseVector &x, const BaseVector &b, BaseVector &y) const |
int | Reorder (FlatArray< int > block, const MatrixGraph &graph, FlatArray< int > usedflags, LocalHeap &lh) |
reorders block entries for band-width minimization | |
Protected Attributes | |
Table< int > & | blocktable |
the table defining the blocks | |
int | maxbs |
maximal block size |
Base class for Block - Jacobi and Block Gauss Seidel smoother.