Struct AdaptiveStep::Parameters

Nested Relationships

This struct is a nested type of Template Class AdaptiveStep.

Struct Documentation

struct Parameters

Parameters for the step controller.

Public Members

RealT fac_min_ = 0.2

The minimum multiple by which the step size can be multiplied to obtain the new step size. Increasing this can allow the integrator to be slightly more conservative in selecting the step size.

  • decreasing the number of steps taken but increasing the risk of failing the next step.

Note

Should be between 0 and 1.

RealT fac_max_ = 5.0

The maximum multiple by which the step size can be multiplied to obtain the new step size. Decreasing this will make the integrator more conservative in selecting the step size - increasing the number of steps taken but decreasing the risk of failing the next step.

Note

Should be greater than 1.

RealT fac_scale_ = 0.9

A “fudge factor” introduced to decrease risk of failing a step. The larger the fudge factor, the more likely steps will fail, but fewer steps will be taken.

Note

Should be between 0 and 1.