Skip to content

WIP: On the fly images

Josh Borrow requested to merge ontheflyimages into master

This is my first attempt at implementing on-the-fly image creation in SWIFT. At the moment, it:

  • Can only create projected images of the (gas) density of the whole box
  • Writes these to a single HDF5 file at times specified either in the usual way or with an output list, along with some basic metadata

How do things look so far? Have I done any kind of big no-no?

I think the following features would be nice:

  • Ability to make projected images of several quantities (e.g. temperature, metallicity, etc.)
  • Stellar images; this should be not too difficult as we already have smoothing lengths (although, what we'd really care about is the local stellar density - not the local gas density - for those)
  • Dark matter images; this would require computing smoothing lengths (very difficult?)
  • Ability to specify arbritary locations/rotations within the simulation volume for rendering
  • Better i/o; the current system is very basic - I don't really understand the SWIFT i/o system

Merge request reports