aboutsummaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorGravatar Edoardo Zoni <59625522+EZoni@users.noreply.github.com> 2021-05-11 20:57:07 -0700
committerGravatar GitHub <noreply@github.com> 2021-05-11 20:57:07 -0700
commitd65e6682af5e74cb061d2dff8be06f350b8cebf6 (patch)
tree66736f78a3d933d0b20a77a2c9bbc4f5a3e45239 /Python
parentc26fadfcfa9c39ec024ecc0053f6fddb3ffdd163 (diff)
downloadWarpX-d65e6682af5e74cb061d2dff8be06f350b8cebf6.tar.gz
WarpX-d65e6682af5e74cb061d2dff8be06f350b8cebf6.tar.zst
WarpX-d65e6682af5e74cb061d2dff8be06f350b8cebf6.zip
New Input Parameter for Order of Shape Factors (#1934)
* Define New Input Parameter interpolation.shape_factors_order * Use New Input Parameter, Remove Obsolete Ones * Add New Input Parameter to PICMI Interface * Update Docs, Use New Input Parameter in Remaining Input Files * Cleaning * New Name: algo.particle_shape
Diffstat (limited to 'Python')
-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()