Speeding up Analysis. Cache imported snapshots
In the analysis many different functions need access to the particles
and most of the time the simplest thing to do is to call InPartS.readsnap!
into a simulation object.
This can be time intensive. It would be convenient if there were an intermediate representation that allowed us to provide already-loaded snapshot data.
This could be implemented via an additional IO abstraction or
alternatively by a LoadedSimulation
type
that can behave like a regular simulation but also knows the underlying file
and can cache snapshot data.
Edited by Jonas Isensee