Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • $\begingroup$ It's strange that basic manipulation to SolutionVector does not work... Isn't it supposed to be an "ordinary" variable? $\endgroup$ Commented Apr 8, 2013 at 9:47
  • $\begingroup$ @wdg I'm not used in object programming. Maybe the problem is very basic. I think that ndssdata@"SolutionVector"["Forward"] is a field that can be set with =. $\endgroup$ Commented Apr 8, 2013 at 13:00
  • $\begingroup$ @wdg It seems that ndssdata@"SolutionVector"["Forward"]is not modifiable (no example in documentation). Nevertheless, I succeed in modifying data and resume the simulation with NDSolve`Reinitialize. The problem will be that time return to 0 at every reinitialization. $\endgroup$ Commented Apr 9, 2013 at 13:28
  • $\begingroup$ Reinitialize seems to be a nice work-around. Unfortunately, we would have to "glue" the solution manually, and there may be notable discontinuities in the solution. $\endgroup$ Commented Apr 11, 2013 at 3:56
  • $\begingroup$ @wdg There are no discontinuity (see figure I have just added). Maybe you have tried to glue the two first part of the answer. Warning : they are not in a "continuous" time interval (first : [0,1.1], second : [2,4]. There was also a factor 2 to simulate renormalisation. $\endgroup$ Commented Apr 11, 2013 at 9:10