aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Remi Lehe <remi.lehe@normalesup.org> 2022-10-28 08:58:34 -0700
committerGravatar GitHub <noreply@github.com> 2022-10-28 08:58:34 -0700
commit8a94eef4d68d1721658dcb9f1d443e6fcfc69dba (patch)
tree7fee39879ddb7bb80872c40ab22dd19cc1354fb7
parentf34f4c219e596eb086dfbb9c6ad8484b958d8b87 (diff)
downloadWarpX-8a94eef4d68d1721658dcb9f1d443e6fcfc69dba.tar.gz
WarpX-8a94eef4d68d1721658dcb9f1d443e6fcfc69dba.tar.zst
WarpX-8a94eef4d68d1721658dcb9f1d443e6fcfc69dba.zip
Add neumann BC in WarpX PICMI interface (#3487)
-rw-r--r--Python/pywarpx/picmi.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py
index 3005b06bd..1c6ad317d 100644
--- a/Python/pywarpx/picmi.py
+++ b/Python/pywarpx/picmi.py
@@ -22,7 +22,8 @@ picmistandard.register_codename(codename)
# dictionary to map field boundary conditions from picmistandard to WarpX
BC_map = {
- 'open':'pml', 'dirichlet':'pec', 'periodic':'periodic', 'damped':'damped', 'none':'none', None:'none'
+ 'open':'pml', 'dirichlet':'pec', 'periodic':'periodic', 'damped':'damped',
+ 'neumann':'neumann', 'none':'none', None:'none'
}
class constants: