aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/wx.py
diff options
context:
space:
mode:
authorGravatar David Grote <grote1@llnl.gov> 2021-12-16 10:12:57 -0800
committerGravatar GitHub <noreply@github.com> 2021-12-16 10:12:57 -0800
commit746ddc2ae871e70cd50940c2cca03a17a9b7ec1a (patch)
tree37ba15e42ada9f89378894156214ab7b05699e66 /Python/pywarpx/wx.py
parentb0b03f6bc5e7768c4ecbcb4e4a2c505d9e4aad91 (diff)
downloadWarpX-746ddc2ae871e70cd50940c2cca03a17a9b7ec1a.tar.gz
WarpX-746ddc2ae871e70cd50940c2cca03a17a9b7ec1a.tar.zst
WarpX-746ddc2ae871e70cd50940c2cca03a17a9b7ec1a.zip
Wrap shared object in a class to control its loading (#2637)
* Wrap shared object in a class to control its loading * Fix libwarpx attribute references * Updated callbacks.py for updated libwarpx * Removed the wx module plus other clean up * Further revision of how to use the pywarpx module. Now, _libwarpx should not be imported by external scripts except in special circumstances. * Updated documentation * Clean up end of line whitespace * Added more wrapping routines plus some clean up * Fixed use of pywarpx in two examples * Fix for getistep * Fixed for the EB Python interface * Silence a warning for our wrapper Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Diffstat (limited to 'Python/pywarpx/wx.py')
-rw-r--r--Python/pywarpx/wx.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/Python/pywarpx/wx.py b/Python/pywarpx/wx.py
deleted file mode 100644
index e28be62c8..000000000
--- a/Python/pywarpx/wx.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 2018 David Grote
-#
-# This file is part of WarpX.
-#
-# License: BSD-3-Clause-LBNL
-
-from ._libwarpx import *
-
-from .timestepper import TimeStepper
-
-from .PGroup import PGroup
-from .PGroup import PGroups
-
-from .callbacks import *
-
-try:
- # This has a dependency on Warp and so is not always imported
- from .WarpXPIC import WarpXPIC
-except ImportError:
- pass