Event-based integration

Open
#53 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp
Domain
tooling

Research direction

Start by reviewing odeint's existing integration entry points and the event-handling behavior described in the issue. Compare the requested target-state stopping behavior with the linked Hipparchus reference; done would mean odeint has a defined, tested way to stop integration when a state condition is reached.

Written by the indexing model from the issue text.

Description

Hi!

Does odeint support event-based integration?
Sometimes it is useful to stop not on specific finish time, but discrete event, when stop condition of the integrator is not defined by the time t but by a target condition on state y (say y[0]=1.0 for example).
Some open-source libraries provide this functionality, like hipparchus(Java): https://www.hipparchus.org/hipparchus-ode/#Discrete_Events_Handling

Dominant language
C++
Stars
55
Forks
59
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from boostorg/odeint

All issues in boostorg/odeint

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.