deal.II version GIT relicensing-2167-g9622207b8f 2024-11-21 12:40:00+00:00
\(\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\}}\)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
TrilinosWrappers::SolverBase::AdditionalData Struct Reference

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

Public Member Functions

 AdditionalData (const bool output_solver_details=false, const unsigned int gmres_restart_parameter=30)
 

Public Attributes

const bool output_solver_details
 
const unsigned int gmres_restart_parameter
 

Detailed Description

Standardized data struct to pipe additional data to the solver.

Definition at line 117 of file trilinos_solver.h.

Constructor & Destructor Documentation

◆ AdditionalData()

TrilinosWrappers::SolverBase::AdditionalData::AdditionalData ( const bool  output_solver_details = false,
const unsigned int  gmres_restart_parameter = 30 
)
explicit

Set the additional data field to the desired output format and puts the restart parameter in case the derived class is GMRES.

TODO: Find a better way for setting the GMRES restart parameter since it is quite inelegant to set a specific option of one solver in the base class for all solvers.

Definition at line 39 of file trilinos_solver.cc.

Member Data Documentation

◆ output_solver_details

const bool TrilinosWrappers::SolverBase::AdditionalData::output_solver_details

Enables/disables the output of solver details (residual in each iterations etc.).

Definition at line 134 of file trilinos_solver.h.

◆ gmres_restart_parameter

const unsigned int TrilinosWrappers::SolverBase::AdditionalData::gmres_restart_parameter

Restart parameter for GMRES solver.

Definition at line 139 of file trilinos_solver.h.


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