From bfe9af094bc941725e177876dbaabc8927dad170 Mon Sep 17 00:00:00 2001 From: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> Date: Thu, 3 Mar 2022 15:48:07 -0800 Subject: Rename `serialize_ics` as `serialize_initial_conditions` (#2925) * Rename `serialize_ics` as `serialize_initial_conditions` * Add Backward Compatibility Check --- Python/pywarpx/picmi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Python') 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 -- cgit v1.2.3