ttricco / sarracen

A Python library for smoothed particle hydrodynamics (SPH) analysis and visualization.
https://sarracen.readthedocs.io
GNU General Public License v3.0
15 stars 17 forks source link

Added APR compatibility #94

Closed becnealon closed 3 months ago

becnealon commented 3 months ago

Changed read_phantom.py so that if it detects an apr_level array it adds a mass column and rescales the particle masses as appropriate.

Note that when we have APR+DUST this will need to be revised.