TrilinosWrappers::PreconditionBase Class Reference
[TrilinosWrappersPreconditioners]

Inheritance diagram for TrilinosWrappers::PreconditionBase:
Inheritance graph
[legend]

List of all members.

Classes

struct  AdditionalData
class  ExcNonMatchingMaps

Public Member Functions

 PreconditionBase ()
 PreconditionBase (const PreconditionBase &)
 ~PreconditionBase ()
void vmult (VectorBase &dst, const VectorBase &src) const
void vmult (::Vector< double > &dst, const ::Vector< double > &src) const

Protected Attributes

Teuchos::RCP< const
Epetra_Operator > 
preconditioner
Epetra_MpiComm communicator
std::auto_ptr< Epetra_Map > map

Friends

class SolverBase
class PreconditionStokes

Detailed Description

The base class for all preconditioners based on Trilinos sparse matrices.

Author:
Martin Kronbichler, 2008

Constructor & Destructor Documentation

TrilinosWrappers::PreconditionBase::PreconditionBase (  ) 

Constructor. Does not do anything. The initialize function of the derived classes will have to create the preconditioner from a given sparse matrix.

TrilinosWrappers::PreconditionBase::PreconditionBase ( const PreconditionBase  ) 

Copy constructor.

TrilinosWrappers::PreconditionBase::~PreconditionBase (  ) 

Destructor.


Member Function Documentation

void TrilinosWrappers::PreconditionBase::vmult ( VectorBase dst,
const VectorBase src 
) const

Apply the preconditioner.

void TrilinosWrappers::PreconditionBase::vmult ( ::Vector< double > &  dst,
const ::Vector< double > &  src 
) const

Apply the preconditioner on deal.II data structures instead of the ones provided in the Trilinos wrapper class.


Friends And Related Function Documentation

friend class SolverBase [friend]
friend class PreconditionStokes [friend]

Member Data Documentation

Teuchos::RCP<const Epetra_Operator> TrilinosWrappers::PreconditionBase::preconditioner [protected]

This is a pointer to the preconditioner object that is used when applying the preconditioner.

Internal communication pattern in case the matrix needs to be copied from deal.II format.

std::auto_ptr<Epetra_Map> TrilinosWrappers::PreconditionBase::map [protected]

Internal Trilinos map in case the matrix needs to be copied from deal.II format.


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

deal.II documentation generated on Mon Nov 23 22:58:37 2009 by doxygen 1.6.1