Skip to content
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

Problems with Initial Solutions #22

Closed
drsaroj opened this issue May 17, 2019 · 1 comment
Closed

Problems with Initial Solutions #22

drsaroj opened this issue May 17, 2019 · 1 comment

Comments

@drsaroj
Copy link

drsaroj commented May 17, 2019

I have a query as to why the jitcdde solution is different than obtained by Mathematica NDSolve when it applies to the same problem with the same set of parameters and the same initial history function. 1a.jpeg and 1b.jpeg appear to be the same except the initial solution abound time=0.
1a
1b
python.txt

@Wrzlprmft
Copy link
Contributor

The reason is that step_on_initial continuities integrates the dynamics up to t=10. You then start integrating again from 0 to 10 (instead of starting at 0). Therefore the solutions you get here are extrapolated from the last step (i.e., from 10−ε to 10). (And yes, this should raise a warning.) If you really need the beginning, you have to use the output of several steps of integrate_blindly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants