aboutsummaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorGravatar Edoardo Zoni <59625522+EZoni@users.noreply.github.com> 2022-03-03 15:48:07 -0800
committerGravatar GitHub <noreply@github.com> 2022-03-03 23:48:07 +0000
commitbfe9af094bc941725e177876dbaabc8927dad170 (patch)
tree0e4778b9b5c72d0287034b608c3190bc5eb0ab73 /Python
parentef7e2ae56cb62da09c2602488398137c3d8a90f4 (diff)
downloadWarpX-bfe9af094bc941725e177876dbaabc8927dad170.tar.gz
WarpX-bfe9af094bc941725e177876dbaabc8927dad170.tar.zst
WarpX-bfe9af094bc941725e177876dbaabc8927dad170.zip
Rename `serialize_ics` as `serialize_initial_conditions` (#2925)
* Rename `serialize_ics` as `serialize_initial_conditions` * Add Backward Compatibility Check
Diffstat (limited to 'Python')
-rw-r--r--Python/pywarpx/picmi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py
index 3b908dec8..f872f7e97 100644
--- a/Python/pywarpx/picmi.py
+++ b/Python/pywarpx/picmi.py
@@ -967,7 +967,7 @@ class Simulation(picmistandard.PICMI_Simulation):
self.field_gathering_algo = kw.pop('warpx_field_gathering_algo', None)
self.particle_pusher_algo = kw.pop('warpx_particle_pusher_algo', None)
self.use_filter = kw.pop('warpx_use_filter', None)
- self.serialize_ics = kw.pop('warpx_serialize_ics', None)
+ self.serialize_initial_conditions = kw.pop('warpx_serialize_initial_conditions', None)
self.do_dynamic_scheduling = kw.pop('warpx_do_dynamic_scheduling', None)
self.load_balance_intervals = kw.pop('warpx_load_balance_intervals', None)
self.load_balance_efficiency_ratio_threshold = kw.pop('warpx_load_balance_efficiency_ratio_threshold', None)
@@ -1013,7 +1013,7 @@ class Simulation(picmistandard.PICMI_Simulation):
pywarpx.algo.costs_heuristic_cells_wt = self.costs_heuristic_cells_wt
pywarpx.warpx.use_filter = self.use_filter
- pywarpx.warpx.serialize_ics = self.serialize_ics
+ pywarpx.warpx.serialize_initial_conditions = self.serialize_initial_conditions
pywarpx.warpx.do_dynamic_scheduling = self.do_dynamic_scheduling