[postprocessor] total mass should NOT be mass weighted
This commit is contained in:
+1
-1
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user