Skip to content

Commit

Permalink
Adapted the setting of r_max
Browse files Browse the repository at this point in the history
  • Loading branch information
freddieknets committed May 19, 2022
1 parent 20b242b commit 526ea18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xdyna/da.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def generate_random_initial(self, *, num_part=1000, r_max=25, px_norm=0, py_norm
self._surv.to_parquet(pf, index=True)
self.meta.da_type = 'monte_carlo'
self.meta.da_dim = 2
self.meta._r_max = r_max
self.meta.r_max = r_max



Expand Down Expand Up @@ -250,7 +250,7 @@ def generate_initial_radial(self, *, angles, r_min, r_max, r_step=None, r_num=No
self._surv.to_parquet(pf, index=True)
self.meta.da_type = 'radial'
self.meta.da_dim = 2

self.meta.r_max = r_max


# Not allowed on parallel process
Expand Down

0 comments on commit 526ea18

Please sign in to comment.