What if set up a parallel ODE problem next to the main one, where the du is given by the flows that come from the main solver? For performance and lack of information at intermediate timesteps it should use a relatively simple explicit algorithm. I would like to hear your thoughts on this regarding code complexity etc.
This is an idea that came up after observing that https://github.com/Deltares/Ribasim/issues/1431 is very bad for performance, see also https://github.com/Deltares/Ribasim/pull/1444#issuecomment-2107871589. So my thought was:
What if set up a parallel ODE problem next to the main one, where the
du
is given by the flows that come from the main solver? For performance and lack of information at intermediate timesteps it should use a relatively simple explicit algorithm. I would like to hear your thoughts on this regarding code complexity etc.