Struct Rosenbrock::Parameters

Nested Relationships

This struct is a nested type of Template Class Rosenbrock.

Struct Documentation

struct Parameters

Parameters of the integrator.

Public Members

RealT starting_step_ = 1e-5

What step size the first step should take.

Todo:

Consider adding a starting step size selector to select this automatically.

size_t max_steps_ = 2000

The maximum number of steps the integrator should take. If the integrator has not reached the final time before taking this many steps, then integration is stopped. For more details, see integrate().

bool skip_lu_ = false

Whether or not the integrator should attempt to skip Jacobian decompositions.

Note

This feature is only available if the underlying method is a Rosenbrock-W method and can speed up the time taken to compute each step. However, the overall number of steps taken will increase.