[postprocessor] read more particles variables

This commit is contained in:
Noe Brucy
2021-04-23 14:47:12 +02:00
parent a64ddd2f9e
commit 9af9bf2565
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ class PostProcessor(HDF5Container):
verbose=self.pp_params.pymses.verbose,
)
self._amr = self._ro.amr_source(self.pp_params.pymses.variables)
self._part = self._ro.particle_source(["vel", "mass"])
self._part = self._ro.particle_source(self.pp_params.pymses.part_variables)
if self.pp_params.pymses.filter:
self.min_coords = np.array(self.pp_params.pymses.min_coords)
+2 -1
View File
@@ -42,7 +42,8 @@ filaments: # parameters for FilFinder
pymses: # Parameters for Pymses reader
# Source settings
variables : ["rho","vel","Br","Bl","P", "g", "phi"] # Read these variables
variables : ["rho","vel","Br","Bl","P", "g", "phi"] # Read these grid variables
part_variables : ["vel","mass","id","level","epoch", "metal"] # Read these particles variables
order : '<' # Bit order