Reference documentation for deal.II version 8.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Public Member Functions | Protected Attributes | List of all members
TrilinosWrappers::SolverGMRES Class Reference

#include <trilinos_solver.h>

Inheritance diagram for TrilinosWrappers::SolverGMRES:
[legend]

Classes

struct  AdditionalData
 

Public Member Functions

 SolverGMRES (SolverControl &cn, const AdditionalData &data=AdditionalData())
 
- Public Member Functions inherited from TrilinosWrappers::SolverBase
 SolverBase (SolverControl &cn)
 
 SolverBase (const enum SolverName solver_name, SolverControl &cn)
 
virtual ~SolverBase ()
 
void solve (const SparseMatrix &A, VectorBase &x, const VectorBase &b, const PreconditionBase &preconditioner)
 
void solve (Epetra_Operator &A, VectorBase &x, const VectorBase &b, const PreconditionBase &preconditioner)
 
void solve (const SparseMatrix &A,::Vector< double > &x, const ::Vector< double > &b, const PreconditionBase &preconditioner)
 
void solve (Epetra_Operator &A,::Vector< double > &x, const ::Vector< double > &b, const PreconditionBase &preconditioner)
 
SolverControlcontrol () const
 
 DeclException1 (ExcTrilinosError, int,<< "An error with error number "<< arg1<< " occurred while calling a Trilinos function")
 

Protected Attributes

const AdditionalData additional_data
 
- Protected Attributes inherited from TrilinosWrappers::SolverBase
SolverControlsolver_control
 

Additional Inherited Members

- Public Types inherited from TrilinosWrappers::SolverBase
enum  SolverName {
  cg, cgs, gmres, bicgstab,
  tfqmr
}
 
- Public Attributes inherited from TrilinosWrappers::SolverBase
enum
TrilinosWrappers::SolverBase::SolverName 
solver_name
 

Detailed Description

An implementation of the solver interface using the Trilinos GMRES solver.

Author
Martin Kronbichler, 2008

Definition at line 413 of file trilinos_solver.h.

Constructor & Destructor Documentation

TrilinosWrappers::SolverGMRES::SolverGMRES ( SolverControl cn,
const AdditionalData data = AdditionalData() 
)

Constructor. In contrast to deal.II's own solvers, there is no need to give a vector memory object.

The last argument takes a structure with additional, solver dependent flags for tuning.

Member Data Documentation

const AdditionalData TrilinosWrappers::SolverGMRES::additional_data
protected

Store a copy of the flags for this particular solver.

Definition at line 464 of file trilinos_solver.h.


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