ali-ramadhan / lagrangian-microbes

🦐🐟🦈 A framework for simulating millions of interacting Lagrangian particles (or microbes!) in a turbulent ocean.
MIT License
10 stars 0 forks source link

Cannot simulate interactions by themselves :( #20

Closed ali-ramadhan closed 5 years ago

ali-ramadhan commented 5 years ago

Right now the InteractionSimulator contains a ParticleAdvecter which isn't good because we can't run multiple interaction simulations by themselves, they need to be tied to a ParticleAdvecter at run time.

They should be decoupled!

ali-ramadhan commented 5 years ago

Can also just serialize the ParticleAdvecter to disk after time stepping is over, then it's loaded by the InteractionSimulator.

This might also solve #17 at the same time!

ali-ramadhan commented 5 years ago

We can now as the interaction simulator just loads everything it needs from particle_data.nc.