diff options
Diffstat (limited to 'Python/pywarpx/picmi.py')
-rw-r--r-- | Python/pywarpx/picmi.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py index cbe01baa6..49aac44dc 100644 --- a/Python/pywarpx/picmi.py +++ b/Python/pywarpx/picmi.py @@ -924,6 +924,12 @@ class EmbeddedBoundary(picmistandard.base._ClassWithInit): class Simulation(picmistandard.PICMI_Simulation): + + # Set the C++ WarpX interface (see _libwarpx.LibWarpX) as an extension to + # Simulation objects. In the future, LibWarpX objects may actually be owned + # by Simulation objects to permit multiple WarpX runs simultaneously. + extension = pywarpx.libwarpx + def init(self, kw): self.current_deposition_algo = kw.pop('warpx_current_deposition_algo', None) |