[postprocessor] read more particles variables
This commit is contained in:
+1
-1
@@ -249,7 +249,7 @@ class PostProcessor(HDF5Container):
|
|||||||
verbose=self.pp_params.pymses.verbose,
|
verbose=self.pp_params.pymses.verbose,
|
||||||
)
|
)
|
||||||
self._amr = self._ro.amr_source(self.pp_params.pymses.variables)
|
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:
|
if self.pp_params.pymses.filter:
|
||||||
self.min_coords = np.array(self.pp_params.pymses.min_coords)
|
self.min_coords = np.array(self.pp_params.pymses.min_coords)
|
||||||
|
|||||||
+2
-1
@@ -42,7 +42,8 @@ filaments: # parameters for FilFinder
|
|||||||
pymses: # Parameters for Pymses reader
|
pymses: # Parameters for Pymses reader
|
||||||
|
|
||||||
# Source settings
|
# 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
|
order : '<' # Bit order
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user