Skip to content

OdeIntegrator can run indefinitely #1038

@reneSchm

Description

@reneSchm

Bug description

After fixing a previous issue, where the IntegratorCore made steps smaller than dt_min, the OdeIntegrator can now no longer converge in certain situations, i.e. if t + dt_min > t_max without reaching t_max within tolerances, then dt will be set to a negative value by the OdeIntegrator and reset to dt_min by the Core, indefinitely.

The problem lies in the requirement that the Core may not make steps smaller than dt_min. This needs to be changed or circumvented.

Version

Any

To reproduce

Set e.g. dt=dt_min=0.7, t_0=0, t_max=1 for any integration/simulation and run it.

Relevant log output

No response

Add any relevant information, e.g. used compiler, screenshots.

No response

Checklist

  • Attached labels, especially loc:: or model:: labels.
  • Linked to project

Metadata

Metadata

Assignees

Labels

class::bugBugs found in the softwareloc::backendThis issue concerns the C++ backend implementation.

Type

No type

Projects

Status

Done (Total)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions