SuperDex Physics C++ API
Loading...
Searching...
No Matches
nonlinear_solver_params.h File Reference

Go to the source code of this file.

Classes

struct  superdex::NonLinearSolverParams
 Parameters for the non-linear solver. More...

Namespaces

namespace  superdex

Enumerations

enum struct  superdex::ConvergenceStatus {
  superdex::None , superdex::Converged , superdex::Stopped , superdex::Diverged ,
  superdex::Count
}
 Convergence status of the non-linear solver. More...
enum struct  superdex::LinearToleranceStrategy {
  superdex::Constant , superdex::EisenstatWalker1 , superdex::EisenstatWalker2 , superdex::EisenstatWalker3 ,
  superdex::Count , superdex::Default = EisenstatWalker2
}
 Strategies to select the relative tolerance of the linear solver (aka forcing term). More...
enum struct  superdex::LineSearchType {
  superdex::None , superdex::Simple , superdex::Armijo , superdex::WolfeWeak ,
  superdex::WolfeStrong , superdex::ResidualNorm , superdex::ArmijoOrResidualNorm , superdex::Count ,
  superdex::Default = ResidualNorm
}
 Line search methods for the non-linear solver. More...
enum struct  superdex::NonLinearSolverConvergenceMode { superdex::Global , superdex::PerActorWeighted , superdex::Count , superdex::Default = PerActorWeighted }
 Convergence monitoring mode for the non-linear solver residual. More...
enum struct  superdex::NonLinearSolverType {
  superdex::Newton , superdex::BFGS , superdex::SR1 , superdex::Count ,
  superdex::Default = Newton
}
 Non-linear solver types. More...
enum class  superdex::PsdProjectionMode {
  superdex::Never , superdex::Always , superdex::IfFailRetry , superdex::IfFailAlways ,
  superdex::Count , superdex::Default = Always
}
 Positive Semi-Definite (PSD) projection modes for the dresidual matrix. More...

Variables

constexpr real superdex::kDefaultRelStepTol = 10_r * std::numeric_limits<real>::epsilon()
 Default tolerance for the L2 norm of the non-linear solver's raw linear-solve increment.