IFPACK  Development
 All Classes Namespaces Files Functions Variables Enumerations Friends Pages
Public Member Functions | List of all members
Ifpack_DiagPreconditioner Class Reference

Ifpack_DiagPreconditioner: a class for diagonal preconditioning. More...

#include <Ifpack_DiagPreconditioner.h>

Inheritance diagram for Ifpack_DiagPreconditioner:
Inheritance graph
[legend]
Collaboration diagram for Ifpack_DiagPreconditioner:
Collaboration graph
[legend]

Public Member Functions

 Ifpack_DiagPreconditioner (const Epetra_Map &DomainMap, const Epetra_Map &RangeMap, const Epetra_Vector &diag)
 ctor
 
 ~Ifpack_DiagPreconditioner ()
 dtor
 
int SetUseTranspose (bool UseTranspose_in)
 
int Apply (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
 
int ApplyInverse (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
 
double NormInf () const
 
const char * Label () const
 
bool UseTranspose () const
 
bool HasNormInf () const
 
const Epetra_CommComm () const
 
const Epetra_MapOperatorDomainMap () const
 
const Epetra_MapOperatorRangeMap () const
 
const Epetra_BlockMapMap () const
 

Detailed Description

Ifpack_DiagPreconditioner: a class for diagonal preconditioning.

Definition at line 73 of file Ifpack_DiagPreconditioner.h.

Member Function Documentation

int Ifpack_DiagPreconditioner::ApplyInverse ( const Epetra_MultiVector X,
Epetra_MultiVector Y 
) const
virtual

Y.ReciprocalMultiply(1.0, diag_, X, 0.0);

Implements Epetra_Operator.

Definition at line 74 of file Ifpack_DiagPreconditioner.cpp.


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