aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/WarpX.py
diff options
context:
space:
mode:
authorGravatar Roelof Groenewald <40245517+roelof-groenewald@users.noreply.github.com> 2021-07-26 10:05:51 -0700
committerGravatar GitHub <noreply@github.com> 2021-07-26 10:05:51 -0700
commitab6b0842589db90600067673ac74ec966fe8a698 (patch)
treedfd6d095b2567d76ce185d790373ee640d26c3a0 /Python/pywarpx/WarpX.py
parent7ac9b24d923e7d7b62f8db10819ba000c4431b55 (diff)
downloadWarpX-ab6b0842589db90600067673ac74ec966fe8a698.tar.gz
WarpX-ab6b0842589db90600067673ac74ec966fe8a698.tar.zst
WarpX-ab6b0842589db90600067673ac74ec966fe8a698.zip
PICMI inputs for MCC (#2098)
* added functionality to picmi.py to initialize MCC collisions from python runscripts * bug fix and copyright declaration change * add Boltzmann's constant to picmi.py * added test for picmi MCC setup * set diagnostic output name for test and cleaned up analysis.py * fixed style issue with EOL white space after merge
Diffstat (limited to 'Python/pywarpx/WarpX.py')
-rw-r--r--Python/pywarpx/WarpX.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Python/pywarpx/WarpX.py b/Python/pywarpx/WarpX.py
index 73106cf62..6014eec6c 100644
--- a/Python/pywarpx/WarpX.py
+++ b/Python/pywarpx/WarpX.py
@@ -16,6 +16,7 @@ from .Interpolation import interpolation
from .Lasers import lasers, lasers_list
from . import Particles
from .Particles import particles, particles_list
+from .Collisions import collisions, collisions_list
from .PSATD import psatd
from .Diagnostics import diagnostics
@@ -54,6 +55,10 @@ class WarpX(Bucket):
for particle in particles_list:
argv += particle.attrlist()
+ argv += collisions.attrlist()
+ for collision in collisions_list:
+ argv += collision.attrlist()
+
argv += lasers.attrlist()
for laser in lasers_list:
argv += laser.attrlist()