From d65e6682af5e74cb061d2dff8be06f350b8cebf6 Mon Sep 17 00:00:00 2001 From: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> Date: Tue, 11 May 2021 20:57:07 -0700 Subject: 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 --- Python/pywarpx/picmi.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Python/pywarpx/picmi.py') 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() -- cgit v1.2.3