|
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. | |
| bool | gradientDescentFallback = false |
| Fall back to gradient descent direction if the solver search direction fails. | |
| 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 = 4 |
| Maximum number of line search iterations. | |
| real | lineSearchMaxRelIncrease = 0.0_r |
| Maximum relative increase in the objective 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 = 1e-6_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 327 of file nonlinear_solver_params.h.
|
default |
| real superdex::NonLinearSolverParams::absDivTol = 1e9_r |
Absolute divergence tolerance.
Definition at line 400 of file nonlinear_solver_params.h.
| real superdex::NonLinearSolverParams::absTol = 1e-3_r |
Absolute residual norm tolerance for convergence.
Definition at line 361 of file nonlinear_solver_params.h.
| NonLinearSolverConvergenceMode superdex::NonLinearSolverParams::convergenceMode = NonLinearSolverConvergenceMode::Default |
Convergence monitoring mode.
Definition at line 358 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 338 of file nonlinear_solver_params.h.
| bool superdex::NonLinearSolverParams::explosionControl = true |
Enable heuristic explosion prevention.
Definition at line 392 of file nonlinear_solver_params.h.
| bool superdex::NonLinearSolverParams::gradientDescentFallback = false |
Fall back to gradient descent direction if the solver search direction fails.
Definition at line 387 of file nonlinear_solver_params.h.
| LinearToleranceStrategy superdex::NonLinearSolverParams::linearToleranceStrategy = LinearToleranceStrategy::Default |
Strategy for adaptive linear solver tolerance (forcing term).
Definition at line 457 of file nonlinear_solver_params.h.
| real superdex::NonLinearSolverParams::lineSearchAlpha = 0.5_r |
Step length reduction factor for line search.
Definition at line 424 of file nonlinear_solver_params.h.
| int superdex::NonLinearSolverParams::lineSearchMaxIter = 4 |
Maximum number of line search iterations.
Definition at line 417 of file nonlinear_solver_params.h.
| real superdex::NonLinearSolverParams::lineSearchMaxRelIncrease = 0.0_r |
Maximum relative increase in the objective to accept the step.
Definition at line 449 of file nonlinear_solver_params.h.
| LineSearchType superdex::NonLinearSolverParams::lineSearchType = LineSearchType::Default |
Line search type.
Definition at line 452 of file nonlinear_solver_params.h.
| real superdex::NonLinearSolverParams::lineSearchWolfe1 = 1e-4_r |
Wolfe condition parameter c1 (sufficient decrease).
Definition at line 433 of file nonlinear_solver_params.h.
| real superdex::NonLinearSolverParams::lineSearchWolfe2 = 0.9_r |
Wolfe condition parameter c2 (curvature).
Definition at line 442 of file nonlinear_solver_params.h.
| double superdex::NonLinearSolverParams::maxElapsedTimeSeconds = 0 |
Maximum elapsed time [s].
Definition at line 351 of file nonlinear_solver_params.h.
| int superdex::NonLinearSolverParams::maxIter = 4 |
Maximum number of non-linear iterations.
Definition at line 343 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 384 of file nonlinear_solver_params.h.
| real superdex::NonLinearSolverParams::relDivTol = 1e4_r |
Relative divergence tolerance, relative to the initial residual.
Definition at line 408 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 375 of file nonlinear_solver_params.h.
| real superdex::NonLinearSolverParams::relTol = 1e-6_r |
Relative residual norm tolerance for convergence, relative to the initial residual.
Definition at line 364 of file nonlinear_solver_params.h.
| NonLinearSolverType superdex::NonLinearSolverParams::solverType = NonLinearSolverType::Default |
Non-linear solver type.
Definition at line 329 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 379 of file nonlinear_solver_params.h.
| VerbosityLevel superdex::NonLinearSolverParams::verbosity = VerbosityLevel::Warning |
Verbosity level for logging output.
Definition at line 462 of file nonlinear_solver_params.h.