Reference documentation for deal.II version 8.5.0
TrilinosWrappers::SolverCG Class Reference

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

Inheritance diagram for TrilinosWrappers::SolverCG:
[legend]

Public Member Functions

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 (const Epetra_Operator &A, VectorBase &x, const VectorBase &b, const PreconditionBase &preconditioner)

void solve (const Epetra_Operator &A, VectorBase &x, const VectorBase &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

Protected Attributes

Protected Attributes inherited from TrilinosWrappers::SolverBase
SolverControlsolver_control

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

Static Public Member Functions inherited from TrilinosWrappers::SolverBase
static::ExceptionBase & ExcTrilinosError (int arg1)

Detailed Description

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

Definition at line 364 of file trilinos_solver.h.

Constructor & Destructor Documentation

 SolverCG< VectorType >::SolverCG ( 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 601 of file trilinos_solver.cc.