improvements

This commit is contained in:
Noe Brucy
2020-03-14 18:09:04 +01:00
parent 1c2750a7bd
commit c2f866b37f
5 changed files with 97 additions and 37 deletions
+1 -3
View File
@@ -226,9 +226,7 @@ class PostProcessor(HDF5Container):
self.load_cells()
return np.sort(np.unique(self.cells["pos"][:, axis]))
def _plane_avg_uniform(
self, getter, axis, unit=cst.none, mass_weighted=True, surf_qty=False
):
def _plane_avg_uniform(self, getter, axis, unit=cst.none, mass_weighted=False):
"""
Profile of the average of a quantity (given by getter) perpendicular to an axis
WARNING : This version only works on an uniform grid, need of a box version for AMR