deal.II version GIT relicensing-2289-g1e5549a87a 2024-12-21 21:30:00+00:00
|
#include <deal.II/lac/solver_cg.h>
Public Member Functions | |
AdditionalData (const bool use_default_residual=true) | |
Public Attributes | |
bool | use_default_residual |
Standardized data struct to pipe additional data to the solver.
Definition at line 409 of file solver_cg.h.
|
explicit |
Constructor. By default, set the residual of the stopping criterion to the implicit residual. A true
value of AdditionalData::use_default_residual refers to the implicit residual, while false
reverts it. The former uses the result of the matrix-vector product already computed in other algorithm steps to derive the residual by a mere vector update, whereas the latter explicitly calculates the system residual with an additional matrix-vector product. More information on explicit and implicit residual stopping criteria can be found link here.
bool SolverFlexibleCG< VectorType >::AdditionalData::use_default_residual |
Flag for the default residual that is used to measure convergence.
Definition at line 430 of file solver_cg.h.