diff options
author | 2021-05-11 20:57:07 -0700 | |
---|---|---|
committer | 2021-05-11 20:57:07 -0700 | |
commit | d65e6682af5e74cb061d2dff8be06f350b8cebf6 (patch) | |
tree | 66736f78a3d933d0b20a77a2c9bbc4f5a3e45239 /Python | |
parent | c26fadfcfa9c39ec024ecc0053f6fddb3ffdd163 (diff) | |
download | WarpX-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.py | 4 |
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() |