APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Problems handling simultaneous events.

Return to the OSP Programming forum
Login to post to this thread

EjsS 5.2 seems to have difficulty handling simultaneous events.
Stephen Salser
8 Posts

I created separate events for collisions of particles with the left and right walls.

The events are handled properly when the events are non simultaneous, but when a right wall and left wall collision happen simultaneously, only the right wall even is handled.

These are both Positive Crossing events, and I have tried both Secant and Bisection methods.

Is there a elegant fix to this problem?


Current Replies - View all
Re: EjsS 5.2 seems to hav...   (lookang - )
Re: EjsS 5.2 seems to hav...   (Wolfgang - )
Re: Re: EjsS 5.2 seems to...   (Stephen Salser - )
OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book