MFEM v2.0
Public Member Functions | Private Attributes
DSmoother Class Reference

Data type for scaled Diagonal smoother of sparse matrix. More...

#include <sparsesmoothers.hpp>

Inheritance diagram for DSmoother:
Inheritance graph
[legend]
Collaboration diagram for DSmoother:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Data type for scaled Diagonal smoother of sparse matrix.

Definition at line 31 of file sparsesmoothers.hpp.


Constructor & Destructor Documentation

DSmoother::DSmoother ( const SparseMatrix a,
double  scale = 1. 
)

Create the diagonal smoother.

Definition at line 38 of file sparsesmoothers.cpp.

References scale.

DSmoother::~DSmoother ( ) [virtual]

Destroys the Diagonal smoother.

Definition at line 51 of file sparsesmoothers.cpp.


Member Function Documentation

void DSmoother::Mult ( const Vector x,
Vector y 
) const [virtual]

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().


Member Data Documentation

double DSmoother::scale [private]

Scale for the Diagonal smooter.

Definition at line 35 of file sparsesmoothers.hpp.

Referenced by DSmoother(), and Mult().


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines