[sinks] correct units

This commit is contained in:
Noe Brucy
2021-11-02 16:40:35 +01:00
parent d51be7504b
commit 3a7181c191
2 changed files with 23 additions and 8 deletions
+1 -1
View File
@@ -895,7 +895,7 @@ class Plotter(Aggregator, BaseProcessor):
self.current_processor.get_value("/datasets/sinks")
)
part_pos = sinks[["x", "y", "z"]].values
mass = sinks.M
mass = sinks.msink
unit_length /= self.current_processor.lbox
except KeyError:
self.current_processor._log("No sinks particles", "WARNING")