Hi,
![]()
Why do I get the following error when using small time increments in the event condition. It seems to arise when t += is smaller than 1e-7.
"single_cond.c:9: error: events can only use a single condition"
I also attach the code to reproduce the issue.
I can "fix" this issue by only using a single condition inside the event but then, the code does not adapt the timestep to match the time increment of the event resulting in no output at the wanted time. I can still print after a given number of timesteps "i" but this is inconvenient specially if the timestep is not constant.
Best,
Theo