aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx
diff options
context:
space:
mode:
Diffstat (limited to 'Python/pywarpx')
-rw-r--r--Python/pywarpx/picmi.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py
index 6d1ace18e..61f1b6c88 100644
--- a/Python/pywarpx/picmi.py
+++ b/Python/pywarpx/picmi.py
@@ -757,9 +757,7 @@ class Simulation(picmistandard.PICMI_Simulation):
interpolation_order = {'NGP':0, 'linear':1, 'quadratic':2, 'cubic':3}[particle_shape]
else:
interpolation_order = particle_shape
- pywarpx.interpolation.nox = interpolation_order
- pywarpx.interpolation.noy = interpolation_order
- pywarpx.interpolation.noz = interpolation_order
+ pywarpx.algo.particle_shape = interpolation_order
self.solver.initialize_inputs()