|
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\}}\)
Go to the documentation of this file.
16 #ifndef dealii_trilinos_solver_h
17 # define dealii_trilinos_solver_h
22 # ifdef DEAL_II_WITH_TRILINOS
31 # include <Epetra_LinearProblem.h>
32 # include <Epetra_Operator.h>
44 class PreconditionBase;
200 Epetra_MultiVector & x,
201 const Epetra_MultiVector &
b,
216 Epetra_MultiVector & x,
217 const Epetra_MultiVector &
b,
235 const ::Vector<double> &
b,
252 const ::Vector<double> &
b,
264 const ::LinearAlgebra::distributed::Vector<double> &
b,
277 const ::LinearAlgebra::distributed::Vector<double> &
b,
292 <<
"An error with error number " << arg1
293 <<
" occurred while calling a Trilinos function");
309 template <
typename Preconditioner>
311 do_solve(
const Preconditioner &preconditioner);
316 template <
typename Preconditioner>
455 const unsigned int restart_parameter = 30);
647 const ::LinearAlgebra::distributed::Vector<double> &
b);
668 const ::Vector<double> &
b);
679 const ::LinearAlgebra::distributed::Vector<double> &
b);
692 <<
"An error with error number " << arg1
693 <<
" occurred while calling a Trilinos function");
722 std::unique_ptr<Amesos_BaseSolver>
solver;
734 # endif // DEAL_II_WITH_TRILINOS
const AdditionalData additional_data
const AdditionalData additional_data
void solve(const SparseMatrix &A, MPI::Vector &x, const MPI::Vector &b, const PreconditionBase &preconditioner)
std::unique_ptr< Epetra_LinearProblem > linear_problem
const AdditionalData additional_data
SolverTFQMR(SolverControl &cn, const AdditionalData &data=AdditionalData())
void set_preconditioner(AztecOO &solver, const Preconditioner &preconditioner)
std::unique_ptr< Amesos_BaseSolver > solver
const AdditionalData additional_data
static ::ExceptionBase & ExcTrilinosError(int arg1)
bool output_solver_details
AdditionalData(const bool output_solver_details=false)
SolverBase(SolverControl &cn, const AdditionalData &data=AdditionalData())
const bool output_solver_details
virtual ~SolverDirect()=default
SolverControl & solver_control
SolverCGS(SolverControl &cn, const AdditionalData &data=AdditionalData())
SolverControl & control() const
std::unique_ptr< AztecOO_StatusTest > status_test
enum TrilinosWrappers::SolverBase::SolverName solver_name
void initialize(const SparseMatrix &A)
SolverCG(SolverControl &cn, const AdditionalData &data=AdditionalData())
SolverGMRES(SolverControl &cn, const AdditionalData &data=AdditionalData())
const unsigned int gmres_restart_parameter
std::unique_ptr< Epetra_LinearProblem > linear_problem
#define DEAL_II_NAMESPACE_OPEN
AdditionalData(const bool output_solver_details=false)
SymmetricTensor< 2, dim, Number > b(const Tensor< 2, dim, Number > &F)
virtual ~SolverBase()=default
AdditionalData(const bool output_solver_details=false)
#define DeclException1(Exception1, type1, outsequence)
AdditionalData(const bool output_solver_details=false, const unsigned int restart_parameter=30)
void solve(MPI::Vector &x, const MPI::Vector &b)
SolverControl & control() const
void do_solve(const Preconditioner &preconditioner)
SolverDirect(SolverControl &cn, const AdditionalData &data=AdditionalData())
AdditionalData(const bool output_solver_details=false, const unsigned int gmres_restart_parameter=30)
const AdditionalData additional_data
const AdditionalData additional_data
#define DEAL_II_NAMESPACE_CLOSE
SolverControl & solver_control
const AdditionalData additional_data
static ::ExceptionBase & ExcTrilinosError(int arg1)
SolverBicgstab(SolverControl &cn, const AdditionalData &data=AdditionalData())
AdditionalData(const bool output_solver_details=false, const std::string &solver_type="Amesos_Klu")
AdditionalData(const bool output_solver_details=false)