# Can you collapse combine many solution objects into one?

**URL:** <https://discourse.julialang.org/t/can-you-collapse-combine-many-solution-objects-into-one/43825>\
**Category:** General Usage\
**Tags:** ode\
**Created:** [July 28, 2020, 5:43pm UTC](https://discourse.julialang.org/t/can-you-collapse-combine-many-solution-objects-into-one/43825 "2020-07-28T17:43:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cbasile21](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cbasile21/32/13072_2.png) [@cbasile21](https://discourse.julialang.org/u/cbasile21)\
**Post date:** [July 28, 2020, 5:43pm UTC](https://discourse.julialang.org/t/can-you-collapse-combine-many-solution-objects-into-one/43825/1 "2020-07-28T17:43:25Z")

</div>

If I solve an ode system by calling the solver once I get a sol object let us call it sol\_final , where I can save and access different times later. Let us pretend , I solve same system by chunks meaning I split up t\_start, t\_end tspan in chunks and I solve same system with a while loop. I can save sol object for each chunk in a dictionary like this  
Dict( 1=\> sol , 2=\> sol , 3=sol ) where number is the index of the while loop. Can I somehow collapse index 1 to end and reproduce sol\_final?

I am assuming same ode solver and options in all problems.

On another note, the interpolation method it says is a 3rd order hermite , I could not find a method in interpolations library similar to this, is there a way to call this interpolation method outside of differentialequations library methods?

PS: I did not think an example of this was necessary, but I can provide one if you think it will be useful. Again thank you.

Thank you.

Christian

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [July 28, 2020, 6:34pm UTC](https://discourse.julialang.org/t/can-you-collapse-combine-many-solution-objects-into-one/43825/2 "2020-07-28T18:34:59Z")

</div>

We don’t have a utility for this right now, if you concatenate t, u, and k you should be good.

> [@cbasile21](#):
>
> On another note, the interpolation method it says is a 3rd order hermite , I could not find a method in interpolations library similar to this, is there a way to call this interpolation method outside of differentialequations library methods?

We could paste something out. It’s an interpolation that requires knowing the derivatives.

---

<div class="post-metadata">

**Author:** ![cbasile21](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cbasile21/32/13072_2.png) [@cbasile21](https://discourse.julialang.org/u/cbasile21)\
**Post date:** [July 28, 2020, 6:59pm UTC](https://discourse.julialang.org/t/can-you-collapse-combine-many-solution-objects-into-one/43825/3 "2020-07-28T18:59:37Z")

</div>

k the chunks? I see. Thank you for your help Chris, is there any method /documentation you recommend me to check out about even thinking about recreating that behavior I expect? Thank you!

Thanks again !

Christian
