![]() |
deal.II version 9.7.0
|
The set of additional parameters to tune the preconditioner. More...
#include <deal.II/lac/trilinos_tpetra_precondition.h>
The set of additional parameters to tune the preconditioner.
Definition at line 446 of file trilinos_tpetra_precondition.h.
Public Member Functions | |
| AdditionalData (const double omega=1., const bool fix_diagonal=false, const double min_diagonal=0., const int n_sweeps=1) | |
| Constructor. | |
Public Attributes | |
| double | omega |
| Relaxation damping factor. | |
| bool | fix_diagonal |
| Whether or not to enlarge entries below a threshold. | |
| double | min_diagonal |
| Threshold below which entries will be fixed. | |
| int | n_sweeps |
| Set how often the preconditioner should be applied during vmult() or Tvmult(). | |
| LinearAlgebra::TpetraWrappers::PreconditionL1Jacobi< Number, MemorySpace >::AdditionalData::AdditionalData | ( | const double | omega = 1., |
| const bool | fix_diagonal = false, | ||
| const double | min_diagonal = 0., | ||
| const int | n_sweeps = 1 ) |
Constructor.
Set the parameters to be used in the preconditioner. The defaults yield the l1 Jacobi preconditioner specified in the original publication.
| omega | The damping factor for the relaxation. |
| fix_diagonal | Fix small diagonal entries for the inversion? |
| min_diagonal | Threshold for fix_diagonal. |
| n_sweeps | Number of relaxation sweeps per call to vmult or Tvmult. |
| double LinearAlgebra::TpetraWrappers::PreconditionL1Jacobi< Number, MemorySpace >::AdditionalData::omega |
Relaxation damping factor.
Definition at line 469 of file trilinos_tpetra_precondition.h.
| bool LinearAlgebra::TpetraWrappers::PreconditionL1Jacobi< Number, MemorySpace >::AdditionalData::fix_diagonal |
Whether or not to enlarge entries below a threshold.
If the matrix diagonal contains entries close to zero, their inversion will be close to division by zero. This can be corrected by setting this value to true. This will result in additional computational work during initialization.
Definition at line 478 of file trilinos_tpetra_precondition.h.
| double LinearAlgebra::TpetraWrappers::PreconditionL1Jacobi< Number, MemorySpace >::AdditionalData::min_diagonal |
Threshold below which entries will be fixed.
If the threshold is zero (default) only entries which are exactly zero will be replaced will small nonzero values.
Definition at line 486 of file trilinos_tpetra_precondition.h.
| int LinearAlgebra::TpetraWrappers::PreconditionL1Jacobi< Number, MemorySpace >::AdditionalData::n_sweeps |
Set how often the preconditioner should be applied during vmult() or Tvmult().
Definition at line 491 of file trilinos_tpetra_precondition.h.