Reference documentation for deal.II version 9.2.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Classes | Public Member Functions | Protected Attributes | List of all members

#include <deal.II/lac/trilinos_solver.h>

Inheritance diagram for TrilinosWrappers::SolverTFQMR:
[legend]

Classes

struct  AdditionalData
 

Public Member Functions

 SolverTFQMR (SolverControl &cn, const AdditionalData &data=AdditionalData())
 
- Public Member Functions inherited from TrilinosWrappers::SolverBase
 SolverBase (SolverControl &cn, const AdditionalData &data=AdditionalData())
 
 SolverBase (const enum SolverName solver_name, SolverControl &cn, const AdditionalData &data=AdditionalData())
 
virtual ~SolverBase ()=default
 
void solve (const SparseMatrix &A, MPI::Vector &x, const MPI::Vector &b, const PreconditionBase &preconditioner)
 
void solve (const Epetra_Operator &A, MPI::Vector &x, const MPI::Vector &b, const PreconditionBase &preconditioner)
 
void solve (const Epetra_Operator &A, MPI::Vector &x, const MPI::Vector &b, const Epetra_Operator &preconditioner)
 
void solve (const Epetra_Operator &A, Epetra_MultiVector &x, const Epetra_MultiVector &b, const PreconditionBase &preconditioner)
 
void solve (const Epetra_Operator &A, Epetra_MultiVector &x, const Epetra_MultiVector &b, const Epetra_Operator &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)
 
void solve (const SparseMatrix &A, ::LinearAlgebra::distributed::Vector< double > &x, const ::LinearAlgebra::distributed::Vector< double > &b, const PreconditionBase &preconditioner)
 
void solve (Epetra_Operator &A, ::LinearAlgebra::distributed::Vector< double > &x, const ::LinearAlgebra::distributed::Vector< double > &b, const PreconditionBase &preconditioner)
 
SolverControlcontrol () const
 
template<>
void set_preconditioner (AztecOO &solver, const PreconditionBase &preconditioner)
 
template<>
void set_preconditioner (AztecOO &solver, const Epetra_Operator &preconditioner)
 

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
}
 
- Static Public Member Functions inherited from TrilinosWrappers::SolverBase
static ::ExceptionBaseExcTrilinosError (int arg1)
 
- Public Attributes inherited from TrilinosWrappers::SolverBase
enum TrilinosWrappers::SolverBase::SolverName solver_name
 

Detailed Description

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

Author
Martin Kronbichler, 2008

Definition at line 524 of file trilinos_solver.h.

Constructor & Destructor Documentation

◆ SolverTFQMR()

TrilinosWrappers::SolverTFQMR::SolverTFQMR ( 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.

Definition at line 667 of file trilinos_solver.cc.

Member Data Documentation

◆ additional_data

const AdditionalData TrilinosWrappers::SolverTFQMR::additional_data
protected

Store a copy of the flags for this particular solver.

Definition at line 552 of file trilinos_solver.h.


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