Reference documentation for deal.II version Git a9c94d1 2015-08-30 16:57:31 -0400
Classes | Public Member Functions | Protected Attributes | List of all members
PreconditionRelaxation< MATRIX > Class Template Reference

#include <deal.II/lac/precondition.h>

Inheritance diagram for PreconditionRelaxation< MATRIX >:


class  AdditionalData

Public Member Functions

void initialize (const MATRIX &A, const AdditionalData &parameters=AdditionalData())
void clear ()
- Public Member Functions inherited from Subscriptor
 Subscriptor ()
 Subscriptor (const Subscriptor &)
virtual ~Subscriptor ()
Subscriptoroperator= (const Subscriptor &)
void subscribe (const char *identifier=0) const
void unsubscribe (const char *identifier=0) const
unsigned int n_subscriptions () const
void list_subscribers () const
 DeclException3 (ExcInUse, int, char *, std::string &,<< "Object of class "<< arg2<< " is still used by "<< arg1<< " other objects."<< "\n\n"<< "(Additional information: "<< arg3<< ")\n\n"<< "See the entry in the Frequently Asked Questions of "<< "deal.II (linked to from for "<< "a lot more information on what this error means and "<< "how to fix programs in which it happens.")
 DeclException2 (ExcNoSubscriber, char *, char *,<< "No subscriber with identifier <"<< arg2<< "> subscribes to this object of class "<< arg1<< ". Consequently, it cannot be unsubscribed.")
template<class Archive >
void serialize (Archive &ar, const unsigned int version)

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.

Guido Kanschat, 2000

Definition at line 307 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

Pointer to the matrix object.

Definition at line 344 of file precondition.h.

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

Relaxation parameter.

Definition at line 349 of file precondition.h.

The documentation for this class was generated from the following file: