![]() |
Reference documentation for deal.II version 8.4.2
|
#include <deal.II/lac/precondition.h>
Classes | |
| class | AdditionalData |
Public Types | |
| typedef MatrixType::size_type | size_type |
Public Member Functions | |
| void | initialize (const MatrixType &A, const AdditionalData ¶meters=AdditionalData()) |
| void | clear () |
| size_type | m () const |
| size_type | n () const |
Public Member Functions inherited from Subscriptor | |
| Subscriptor () | |
| Subscriptor (const Subscriptor &) | |
| virtual | ~Subscriptor () |
| Subscriptor & | operator= (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."<< "\"<< "(Additional information: "<< arg3<< ")\"<< "See the entry in the Frequently Asked Questions of "<< "deal.II (linked to from http://www.dealii.org/) 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 MatrixType, PreconditionRelaxation< MatrixType > > | A |
| double | relaxation |
Base class for other preconditioners. Here, only some common features Jacobi, SOR and SSOR preconditioners are implemented. For preconditioning, refer to derived classes.
Definition at line 383 of file precondition.h.
| typedef MatrixType::size_type PreconditionRelaxation< MatrixType >::size_type |
Declare type for container size.
Definition at line 389 of file precondition.h.
| 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.
| void PreconditionRelaxation< MatrixType >::clear | ( | ) |
Release the matrix and reset its pointer.
| size_type PreconditionRelaxation< MatrixType >::m | ( | ) | const |
Return the dimension of the codomain (or range) space. To remember: the matrix is of dimension
.
| size_type PreconditionRelaxation< MatrixType >::n | ( | ) | const |
Return the dimension of the domain space. To remember: the matrix is of dimension
.
|
protected |
Pointer to the matrix object.
Definition at line 437 of file precondition.h.
|
protected |
Relaxation parameter.
Definition at line 442 of file precondition.h.
1.8.12