![]() |
deal.II version 9.7.0
|
#include <deal.II/trilinos/nox.h>
Struct that helps to configure NOXSolver. More advanced parameters are passed to the constructor NOXSolver directly via a Teuchos::ParameterList.
Public Member Functions | |
| AdditionalData (const unsigned int max_iter=10, const double abs_tol=1.e-20, const double rel_tol=1.e-5, const unsigned int threshold_nonlinear_iterations=1, const unsigned int threshold_n_linear_iterations=0, const bool reuse_solver=false) | |
Public Attributes | |
| unsigned int | max_iter |
| double | abs_tol |
| double | rel_tol |
| unsigned int | threshold_nonlinear_iterations |
| unsigned int | threshold_n_linear_iterations |
| bool | reuse_solver |
| TrilinosWrappers::NOXSolver< VectorType >::AdditionalData::AdditionalData | ( | const unsigned int | max_iter = 10, |
| const double | abs_tol = 1.e-20, | ||
| const double | rel_tol = 1.e-5, | ||
| const unsigned int | threshold_nonlinear_iterations = 1, | ||
| const unsigned int | threshold_n_linear_iterations = 0, | ||
| const bool | reuse_solver = false ) |
Constructor.
| unsigned int TrilinosWrappers::NOXSolver< VectorType >::AdditionalData::max_iter |
| double TrilinosWrappers::NOXSolver< VectorType >::AdditionalData::abs_tol |
| double TrilinosWrappers::NOXSolver< VectorType >::AdditionalData::rel_tol |
| unsigned int TrilinosWrappers::NOXSolver< VectorType >::AdditionalData::threshold_nonlinear_iterations |
| unsigned int TrilinosWrappers::NOXSolver< VectorType >::AdditionalData::threshold_n_linear_iterations |
A number that indicates how many iterations a linear solver should at most perform before the preconditioner should be updated. The use of this variable is predicated on the idea that one can keep using a preconditioner built earlier as long as it is a good preconditioner for the matrix currently in use – where "good" is defined as leading to a number of iterations to solve linear systems less than the threshold given by the current variable.
This variable is only used if the NOXSolver::solve_with_jacobian_and_track_n_linear_iterations function object has been given a target (i.e., it is not empty).
| bool TrilinosWrappers::NOXSolver< VectorType >::AdditionalData::reuse_solver |