Struct ImplicitTrapezoidal::Parameters

Nested Relationships

This struct is a nested type of Template Class ImplicitTrapezoidal.

Struct Documentation

struct Parameters

Parameters controlling fixed stepping and the nonlinear solve.

Public Members

RealT step_size_ = 1.0 / 240.0

Fixed internal step size.

size_t max_steps_ = 10000

Maximum number of accepted internal steps.

size_t max_newton_iterations_ = 16

Maximum number of linear solves allowed in one nonlinear step.

RealT armijo_constant_ = 1e-4

Sufficient-decrease constant used by the Armijo line search.

RealT backtrack_factor_ = 0.5

Factor by which the line-search step length is reduced.

RealT minimum_step_length_ = 1e-8

Smallest line-search step length that may be attempted.

RealT stagnation_ratio_ = 0.9

Residual-merit reduction ratio above which a Newton iteration is stagnant.

size_t max_stagnant_iterations_ = 2

Consecutive stagnant iterations that trigger a Jacobian refresh.

size_t max_jacobian_refreshes_ = 1

Maximum Jacobian refreshes permitted during one nonlinear step.