From ab6b0842589db90600067673ac74ec966fe8a698 Mon Sep 17 00:00:00 2001 From: Roelof Groenewald <40245517+roelof-groenewald@users.noreply.github.com> Date: Mon, 26 Jul 2021 10:05:51 -0700 Subject: 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 --- Python/pywarpx/WarpX.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Python/pywarpx/WarpX.py') 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() -- cgit v1.2.3