aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/picmi.py
diff options
context:
space:
mode:
authorGravatar Remi Lehe <remi.lehe@normalesup.org> 2021-09-21 09:11:50 -0700
committerGravatar GitHub <noreply@github.com> 2021-09-21 09:11:50 -0700
commit61258362727c9733b89369067343947ee556a002 (patch)
treeddd9cfc08dcf527cfbbcddf4ac54900c13af8721 /Python/pywarpx/picmi.py
parent52e2620d3ae28623c114707ce230d867dc8d4c9d (diff)
downloadWarpX-61258362727c9733b89369067343947ee556a002.tar.gz
WarpX-61258362727c9733b89369067343947ee556a002.tar.zst
WarpX-61258362727c9733b89369067343947ee556a002.zip
Rename eb_potential parameter (#2310)
Diffstat (limited to 'Python/pywarpx/picmi.py')
-rw-r--r--Python/pywarpx/picmi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py
index 6f5b96ab9..1bb46e439 100644
--- a/Python/pywarpx/picmi.py
+++ b/Python/pywarpx/picmi.py
@@ -804,7 +804,7 @@ class EmbeddedBoundary(picmistandard.base._ClassWithInit):
if self.potential is not None:
assert isinstance(solver, ElectrostaticSolver), Exception('The potential is only supported with the ElectrostaticSolver')
expression = pywarpx.my_constants.mangle_expression(self.potential, self.mangle_dict)
- pywarpx.warpx.__setattr__('eb_potential(t)', expression)
+ pywarpx.warpx.__setattr__('eb_potential(x,y,z,t)', expression)
class Simulation(picmistandard.PICMI_Simulation):