Reference documentation for deal.II version Git f76dcf7 2016-06-24 16:51:56 -0700
Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
PreconditionRelaxation< MatrixType > Class Template Reference

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

Inheritance diagram for PreconditionRelaxation< MatrixType >:
[legend]

Classes

class  AdditionalData
 

Public Types

typedef MatrixType::size_type size_type
 

Public Member Functions

void initialize (const MatrixType &A, const AdditionalData &parameters=AdditionalData())
 
void clear ()
 
size_type m () const
 
size_type n () const
 
- Public Member Functions inherited from Subscriptor
 Subscriptor ()
 
 Subscriptor (const Subscriptor &)
 
 Subscriptor (Subscriptor &&)
 
virtual ~Subscriptor ()
 
Subscriptoroperator= (const Subscriptor &)
 
Subscriptoroperator= (Subscriptor &&)
 
void subscribe (const char *identifier=0) const
 
void unsubscribe (const char *identifier=0) const
 
unsigned int n_subscriptions () const
 
void list_subscribers () const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Protected Attributes

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

Additional Inherited Members

- Static Public Member Functions inherited from Subscriptor
static::ExceptionBase & ExcInUse (int arg1, char *arg2, std::string &arg3)
 
static::ExceptionBase & ExcNoSubscriber (char *arg1, char *arg2)
 

Detailed Description

template<typename MatrixType = SparseMatrix<double>>
class PreconditionRelaxation< MatrixType >

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; extension for full compatibility with LinearOperator class: Jean-Paul Pelteret, 2015

Definition at line 383 of file precondition.h.

Member Typedef Documentation

template<typename MatrixType = SparseMatrix<double>>
typedef MatrixType::size_type PreconditionRelaxation< MatrixType >::size_type

Declare type for container size.

Definition at line 389 of file precondition.h.

Member Function Documentation

template<typename MatrixType = SparseMatrix<double>>
void PreconditionRelaxation< MatrixType >::initialize ( const MatrixType &  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<typename MatrixType = SparseMatrix<double>>
void PreconditionRelaxation< MatrixType >::clear ( )

Release the matrix and reset its pointer.

template<typename MatrixType = SparseMatrix<double>>
size_type PreconditionRelaxation< MatrixType >::m ( ) const

Return the dimension of the codomain (or range) space. To remember: the matrix is of dimension \(m \times n\).

template<typename MatrixType = SparseMatrix<double>>
size_type PreconditionRelaxation< MatrixType >::n ( ) const

Return the dimension of the domain space. To remember: the matrix is of dimension \(m \times n\).

Member Data Documentation

template<typename MatrixType = SparseMatrix<double>>
SmartPointer<const MatrixType, PreconditionRelaxation<MatrixType> > PreconditionRelaxation< MatrixType >::A
protected

Pointer to the matrix object.

Definition at line 437 of file precondition.h.

template<typename MatrixType = SparseMatrix<double>>
double PreconditionRelaxation< MatrixType >::relaxation
protected

Relaxation parameter.

Definition at line 442 of file precondition.h.


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