[snapshot] add automatic plots for Bl and Br

This commit is contained in:
Noe Brucy
2021-10-25 17:36:27 +02:00
parent f5ab01c960
commit 12933ae6b3
+1 -1
View File
@@ -1883,7 +1883,7 @@ class SnapshotProcessor(HDF5Container):
averageables.append(name + "_avg") averageables.append(name + "_avg")
# special for vectors # special for vectors
if field in ["g", "vel"]: if field in ["g", "vel", "Bl", "Br"]:
# Components # Components
for i, dir in enumerate(["x", "y", "z"]): for i, dir in enumerate(["x", "y", "z"]):
generic_rule( generic_rule(