[postprocessor] total mass should NOT be mass weighted

This commit is contained in:
Noe Brucy
2021-06-03 23:21:36 +02:00
parent f640b03eee
commit 51897b9951
+1 -1
View File
@@ -1700,7 +1700,7 @@ class PostProcessor(HDF5Container):
), ),
"mass": Rule( "mass": Rule(
self, self,
partial(self._sum, mass_func), partial(self._sum, mass_func, mass_weighted=False),
"Total mass", "Total mass",
"/globals", "/globals",
unit=self.info["unit_density"] * self.info["unit_length"] ** 3, unit=self.info["unit_density"] * self.info["unit_length"] ** 3,