Reference documentation for deal.II version 9.4.1
|
#include <deal.II/lac/trilinos_precondition.h>
Public Member Functions | |
AdditionalData (const double omega=1, const double min_diagonal=0, const unsigned int n_sweeps=1) | |
Public Attributes | |
double | omega |
double | min_diagonal |
unsigned int | n_sweeps |
Standardized data struct to pipe additional flags to the preconditioner. The parameter omega
specifies the relaxation parameter in the Jacobi preconditioner. The parameter min_diagonal
can be used to make the application of the preconditioner also possible when some diagonal elements are zero. In a default application this would mean that we divide by zero, so by setting the parameter min_diagonal
to a small nonzero value the SOR will work on a matrix that is not too far away from the one we want to treat.
Definition at line 277 of file trilinos_precondition.h.