MFEM v2.0
|
Data type for scaled Diagonal smoother of sparse matrix. More...
#include <sparsesmoothers.hpp>
Public Member Functions | |
DSmoother (const SparseMatrix &a, double scale=1.) | |
Create the diagonal smoother. | |
virtual void | Mult (const Vector &x, Vector &y) const |
Matrix vector multiplication with Diagonal smoother. | |
virtual | ~DSmoother () |
Destroys the Diagonal smoother. | |
Private Attributes | |
double | scale |
Scale for the Diagonal smooter. |
Data type for scaled Diagonal smoother of sparse matrix.
Definition at line 31 of file sparsesmoothers.hpp.
DSmoother::DSmoother | ( | const SparseMatrix & | a, |
double | scale = 1. |
||
) |
DSmoother::~DSmoother | ( | ) | [virtual] |
Destroys the Diagonal smoother.
Definition at line 51 of file sparsesmoothers.cpp.
Matrix vector multiplication with Diagonal smoother.
Implements Operator.
Definition at line 44 of file sparsesmoothers.cpp.
References MatrixInverse::a, Matrix::Elem(), scale, and Vector::Size().
double DSmoother::scale [private] |
Scale for the Diagonal smooter.
Definition at line 35 of file sparsesmoothers.hpp.
Referenced by DSmoother(), and Mult().