IdentityPrecond< T > Class Template Reference

Class template for the Richardson preconditioner (identity matrix). More...

#include <LinPrecond.hpp>

Inheritance diagram for IdentityPrecond< T >:

Inheritance graph
[legend]
Collaboration diagram for IdentityPrecond< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void PrintParam ()
 Prints the name of the preconditioner and (optionally) the parameters.
void PreProcess (void *&context, SparseMatrix< T > &A)
void Run (void *&context, MultiVector< T > &r, MultiVector< T > &c)
void PostProcess (void *&context)
 The standard PostProcess for the elementary preconditioner. Does nothing.
 IdentityPrecond (T the_damping=1)

Detailed Description

template<typename T>
class IdentityPrecond< T >

Class template for the Richardson preconditioner (identity matrix).

Note:
This preconditioner uses no context.


Constructor & Destructor Documentation

template<typename T>
IdentityPrecond< T >::IdentityPrecond ( the_damping = 1  )  [inline]


Member Function Documentation

template<typename T>
void IdentityPrecond< T >::PrintParam (  )  [inline, virtual]

Prints the name of the preconditioner and (optionally) the parameters.

Implements SysPrecond< T >.

template<typename T>
void IdentityPrecond< T >::PreProcess ( void *&  context,
SparseMatrix< T > &  A 
) [inline, virtual]

Parameters:
[in] context The context
[in] A The matrix

Implements LinPrecond< T >.

template<typename T>
void IdentityPrecond< T >::Run ( void *&  context,
MultiVector< T > &  r,
MultiVector< T > &  c 
) [inline, virtual]

Parameters:
[in] context The context
[in] r The residual
[in] c The correction

Implements LinPrecond< T >.

template<typename T>
void IdentityPrecond< T >::PostProcess ( void *&  context  )  [inline, virtual]

The standard PostProcess for the elementary preconditioner. Does nothing.

Parameters:
[in] context The context to release

Reimplemented from LinPrecond< T >.


The documentation for this class was generated from the following file:
Generated on Fri Sep 21 12:34:14 2007 for SG2 by  doxygen 1.5.2