-
Notifications
You must be signed in to change notification settings - Fork 23
multiphase collision. #425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
I scanned through it, but I don't easily understand what you have done. |
|
One comment is that the solution I'm (likely) interested in would not involve any approximations of non-continuous functions. The reason to break the simulation into the leftward and rightward motion is to avoid such functions because the motion is continuous in each of those periods. |
|
Right now, I am working on a better explanation, will push it when finished.
I kept your set-up completely, except I let opty decide the time of the collision. I have to use differentiable hump functions for this, opty will not accept ``Heavyside` type functions to the best of my knowledge. In the version I am working on right now, this is explained better. |
|
I added explanations and 'beautified' it. |
|
We have enough examples where you have shown how to make a smooth step or hump function. I'm not sure what this adds to the examples. |
|
Reopen if you think this bring something new. |
|
Better delete. The idea was to 'switch' eoms along the path. It worked for this simple example, but totally failed on a more difficult one. |
|
Reopening, maybe we will add this as it has an interesting method. |
|
Just brought the branch up to date. |
This is not yet a fully 'beautified' version.
I pushed it for you to see, if this is along the lines you thought.
In principle, your idea of adding DEAs to the eoms seems to work in this case.
The convergence is not trivial: I had ot play around so I could understand how to make it converge.