Currently, indexing a TimePartition returns some stats for the corresponding subinterval. It would be better to instead return the corresponding TimeInterval. More generally, we should support slicing to give corresponding sub-TimePartition.
The motivation behind this is to eventually consider parallelism in time, whereby we might solve equations / do adaptation on different subintervals in parallel.
Currently, indexing a
TimePartition
returns some stats for the corresponding subinterval. It would be better to instead return the correspondingTimeInterval
. More generally, we should support slicing to give corresponding sub-TimePartition
.The motivation behind this is to eventually consider parallelism in time, whereby we might solve equations / do adaptation on different subintervals in parallel.