|
SuperDex Physics C++ API
|
Parameters for the non-linear solver. More...
#include <nonlinear_solver_params.h>
Public Member Functions | |
| bool | operator== (NonLinearSolverParams const &) const =default |
Public Attributes | |
| real | absDivTol = 1e9_r |
| Absolute divergence tolerance. | |
| real | absTol = 1e-3_r |
| Absolute residual norm tolerance for convergence. | |
| NonLinearSolverConvergenceMode | convergenceMode = NonLinearSolverConvergenceMode::Default |
| Convergence monitoring mode. | |
| int | dResidualAssemblyPeriod = 1 |
| Every how many non-linear iterations to assemble the dresidual matrix. | |
| bool | explosionControl = true |
| Enable heuristic explosion prevention. | |
| LinearToleranceStrategy | linearToleranceStrategy = LinearToleranceStrategy::Default |
| Strategy for adaptive linear solver tolerance (forcing term). | |
| real | lineSearchAlpha = 0.5_r |
| Step length reduction factor for line search. | |
| int | lineSearchMaxIter = 8 |
| Maximum number of line search iterations. | |
| real | lineSearchMaxRelIncrease = 0.0_r |
| Maximum relative increase in the merit to accept the step. | |
| LineSearchType | lineSearchType = LineSearchType::Default |
| Line search type. | |
| real | lineSearchWolfe1 = 1e-4_r |
| Wolfe condition parameter c1 (sufficient decrease). | |
| real | lineSearchWolfe2 = 0.9_r |
| Wolfe condition parameter c2 (curvature). | |
| double | maxElapsedTimeSeconds = 0 |
| Maximum elapsed time [s]. | |
| int | maxIter = 4 |
| Maximum number of non-linear iterations. | |
| PsdProjectionMode | psdProjMode = PsdProjectionMode::Default |
| Positive Semi-Definite (PSD) projection mode for the dresidual matrix. | |
| real | relDivTol = 1e4_r |
| Relative divergence tolerance, relative to the initial residual. | |
| real | relStepTol = kDefaultRelStepTol |
| Relative tolerance on the L2 norm of the raw linear-solve increment before line search scaling. | |
| real | relTol = 0_r |
| Relative residual norm tolerance for convergence, relative to the initial residual. | |
| NonLinearSolverType | solverType = NonLinearSolverType::Default |
| Non-linear solver type. | |
| bool | stopIfNoImprovement = false |
| Stop the solve if the line search figure of merit does not improve from the previous iteration. | |
| VerbosityLevel | verbosity = VerbosityLevel::Warning |
| Verbosity level for logging output. | |
Parameters for the non-linear solver.
Definition at line 328 of file nonlinear_solver_params.h.
|
default |
| real superdex::NonLinearSolverParams::absDivTol = 1e9_r |
Absolute divergence tolerance.
Definition at line 411 of file nonlinear_solver_params.h.
| real superdex::NonLinearSolverParams::absTol = 1e-3_r |
Absolute residual norm tolerance for convergence.
Definition at line 369 of file nonlinear_solver_params.h.
| NonLinearSolverConvergenceMode superdex::NonLinearSolverParams::convergenceMode = NonLinearSolverConvergenceMode::Default |
Convergence monitoring mode.
Definition at line 359 of file nonlinear_solver_params.h.
| int superdex::NonLinearSolverParams::dResidualAssemblyPeriod = 1 |
Every how many non-linear iterations to assemble the dresidual matrix.
Definition at line 339 of file nonlinear_solver_params.h.
| bool superdex::NonLinearSolverParams::explosionControl = true |
Enable heuristic explosion prevention.
Definition at line 403 of file nonlinear_solver_params.h.
| LinearToleranceStrategy superdex::NonLinearSolverParams::linearToleranceStrategy = LinearToleranceStrategy::Default |
Strategy for adaptive linear solver tolerance (forcing term).
Definition at line 471 of file nonlinear_solver_params.h.
| real superdex::NonLinearSolverParams::lineSearchAlpha = 0.5_r |
Step length reduction factor for line search.
Definition at line 435 of file nonlinear_solver_params.h.
| int superdex::NonLinearSolverParams::lineSearchMaxIter = 8 |
Maximum number of line search iterations.
Definition at line 428 of file nonlinear_solver_params.h.
| real superdex::NonLinearSolverParams::lineSearchMaxRelIncrease = 0.0_r |
Maximum relative increase in the merit to accept the step.
Definition at line 463 of file nonlinear_solver_params.h.
| LineSearchType superdex::NonLinearSolverParams::lineSearchType = LineSearchType::Default |
Line search type.
Definition at line 466 of file nonlinear_solver_params.h.
| real superdex::NonLinearSolverParams::lineSearchWolfe1 = 1e-4_r |
Wolfe condition parameter c1 (sufficient decrease).
Definition at line 444 of file nonlinear_solver_params.h.
| real superdex::NonLinearSolverParams::lineSearchWolfe2 = 0.9_r |
Wolfe condition parameter c2 (curvature).
Definition at line 453 of file nonlinear_solver_params.h.
| double superdex::NonLinearSolverParams::maxElapsedTimeSeconds = 0 |
Maximum elapsed time [s].
Definition at line 352 of file nonlinear_solver_params.h.
| int superdex::NonLinearSolverParams::maxIter = 4 |
Maximum number of non-linear iterations.
Definition at line 344 of file nonlinear_solver_params.h.
| PsdProjectionMode superdex::NonLinearSolverParams::psdProjMode = PsdProjectionMode::Default |
Positive Semi-Definite (PSD) projection mode for the dresidual matrix.
Definition at line 398 of file nonlinear_solver_params.h.
| real superdex::NonLinearSolverParams::relDivTol = 1e4_r |
Relative divergence tolerance, relative to the initial residual.
Definition at line 419 of file nonlinear_solver_params.h.
| real superdex::NonLinearSolverParams::relStepTol = kDefaultRelStepTol |
Relative tolerance on the L2 norm of the raw linear-solve increment before line search scaling.
Definition at line 389 of file nonlinear_solver_params.h.
| real superdex::NonLinearSolverParams::relTol = 0_r |
Relative residual norm tolerance for convergence, relative to the initial residual.
Definition at line 378 of file nonlinear_solver_params.h.
| NonLinearSolverType superdex::NonLinearSolverParams::solverType = NonLinearSolverType::Default |
Non-linear solver type.
Definition at line 330 of file nonlinear_solver_params.h.
| bool superdex::NonLinearSolverParams::stopIfNoImprovement = false |
Stop the solve if the line search figure of merit does not improve from the previous iteration.
Definition at line 393 of file nonlinear_solver_params.h.
| VerbosityLevel superdex::NonLinearSolverParams::verbosity = VerbosityLevel::Warning |
Verbosity level for logging output.
Definition at line 476 of file nonlinear_solver_params.h.