Classes | Public Member Functions | Protected Attributes

PreconditionRelaxation< MATRIX > Class Template Reference
[Preconditioners and Relaxation Operators]

Inheritance diagram for PreconditionRelaxation< MATRIX >:
Inheritance graph
[legend]

List of all members.

Classes

class  AdditionalData

Public Member Functions

void initialize (const MATRIX &A, const AdditionalData &parameters=AdditionalData())
void clear ()

Protected Attributes

SmartPointer< const MATRIX,
PreconditionRelaxation< MATRIX > > 
A
double relaxation

Detailed Description

template<class MATRIX = SparseMatrix<double>>
class PreconditionRelaxation< MATRIX >

Base class for other preconditioners. Here, only some common features Jacobi, SOR and SSOR preconditioners are implemented. For preconditioning, refer to derived classes.

Author:
Guido Kanschat, 2000

Definition at line 336 of file precondition.h.


Member Function Documentation

template<class MATRIX = SparseMatrix<double>>
void PreconditionRelaxation< MATRIX >::initialize ( const MATRIX A,
const AdditionalData parameters = AdditionalData() 
)

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.

template<class MATRIX = SparseMatrix<double>>
void PreconditionRelaxation< MATRIX >::clear (  )

Release the matrix and reset its pointer.


Member Data Documentation

template<class MATRIX = SparseMatrix<double>>
SmartPointer<const MATRIX, PreconditionRelaxation<MATRIX> > PreconditionRelaxation< MATRIX >::A [protected]

Pointer to the matrix object.

Definition at line 379 of file precondition.h.

template<class MATRIX = SparseMatrix<double>>
double PreconditionRelaxation< MATRIX >::relaxation [protected]

Relaxation parameter.

Definition at line 384 of file precondition.h.


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

deal.II documentation generated on Fri Feb 3 2012 06:04:10 by doxygen 1.7.2