DiagonalPreconditioner Class Reference

#include <diagonalpreconditioner.h>

List of all members.

Public Member Functions

 DiagonalPreconditioner (const Epetra_CrsMatrix &mat)
 ~DiagonalPreconditioner ()
int SetUseTranspose (bool use_transpose)
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_Comm & Comm () const
const Epetra_Map & OperatorDomainMap () const
const Epetra_Map & OperatorRangeMap () const

Private Attributes

Epetra_Vector * inv_diag_
const Epetra_Map & domain_map_
const Epetra_Map & range_map_
const Epetra_Comm & comm_
bool use_transpose_


Detailed Description

Diagonal preconditioner.

Definition at line 26 of file diagonalpreconditioner.h.


Constructor & Destructor Documentation

DiagonalPreconditioner::DiagonalPreconditioner ( const Epetra_CrsMatrix &  mat  )  [inline]

Definition at line 28 of file diagonalpreconditioner.h.

References inv_diag_.

DiagonalPreconditioner::~DiagonalPreconditioner (  )  [inline]

Definition at line 40 of file diagonalpreconditioner.h.

References inv_diag_.


Member Function Documentation

int DiagonalPreconditioner::Apply ( const Epetra_MultiVector &  X,
Epetra_MultiVector &  Y 
) const [inline]

Definition at line 49 of file diagonalpreconditioner.h.

References domain_map_, inv_diag_, OperatorDomainMap(), OperatorRangeMap(), and range_map_.

Referenced by ApplyInverse().

Here is the call graph for this function:

int DiagonalPreconditioner::ApplyInverse ( const Epetra_MultiVector &  X,
Epetra_MultiVector &  Y 
) const [inline]

Definition at line 62 of file diagonalpreconditioner.h.

References Apply().

Here is the call graph for this function:

const Epetra_Comm& DiagonalPreconditioner::Comm (  )  const [inline]

Definition at line 82 of file diagonalpreconditioner.h.

References comm_.

bool DiagonalPreconditioner::HasNormInf (  )  const [inline]

Definition at line 78 of file diagonalpreconditioner.h.

const char* DiagonalPreconditioner::Label (  )  const [inline]

Definition at line 70 of file diagonalpreconditioner.h.

double DiagonalPreconditioner::NormInf (  )  const [inline]

Definition at line 66 of file diagonalpreconditioner.h.

const Epetra_Map& DiagonalPreconditioner::OperatorDomainMap (  )  const [inline]

Definition at line 86 of file diagonalpreconditioner.h.

References domain_map_.

Referenced by Apply().

const Epetra_Map& DiagonalPreconditioner::OperatorRangeMap (  )  const [inline]

Definition at line 90 of file diagonalpreconditioner.h.

References range_map_.

Referenced by Apply().

int DiagonalPreconditioner::SetUseTranspose ( bool  use_transpose  )  [inline]

Definition at line 44 of file diagonalpreconditioner.h.

References use_transpose_.

bool DiagonalPreconditioner::UseTranspose (  )  const [inline]

Definition at line 74 of file diagonalpreconditioner.h.

References use_transpose_.


Member Data Documentation

const Epetra_Comm& DiagonalPreconditioner::comm_ [private]

Definition at line 98 of file diagonalpreconditioner.h.

Referenced by Comm().

const Epetra_Map& DiagonalPreconditioner::domain_map_ [private]

Definition at line 96 of file diagonalpreconditioner.h.

Referenced by Apply(), and OperatorDomainMap().

Epetra_Vector* DiagonalPreconditioner::inv_diag_ [private]

Definition at line 95 of file diagonalpreconditioner.h.

Referenced by Apply(), DiagonalPreconditioner(), and ~DiagonalPreconditioner().

const Epetra_Map& DiagonalPreconditioner::range_map_ [private]

Definition at line 97 of file diagonalpreconditioner.h.

Referenced by Apply(), and OperatorRangeMap().

bool DiagonalPreconditioner::use_transpose_ [private]

Definition at line 99 of file diagonalpreconditioner.h.

Referenced by SetUseTranspose(), and UseTranspose().


The documentation for this class was generated from the following file:
Generated on Fri Oct 26 13:35:16 2007 for FEMAXX (Finite Element Maxwell Eigensolver) by  doxygen 1.4.7