aboutsummaryrefslogtreecommitdiff
path: root/Source/Python/pyWarpX.H
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Python/pyWarpX.H')
-rw-r--r--Source/Python/pyWarpX.H20
1 files changed, 20 insertions, 0 deletions
diff --git a/Source/Python/pyWarpX.H b/Source/Python/pyWarpX.H
new file mode 100644
index 000000000..51740f75c
--- /dev/null
+++ b/Source/Python/pyWarpX.H
@@ -0,0 +1,20 @@
+/* Copyright 2021-2022 The WarpX Community
+ *
+ * This header is used to centrally define classes that shall not violate the
+ * C++ one-definition-rule (ODR) for various Python translation units.
+ *
+ * Authors: Axel Huebl
+ * License: BSD-3-Clause-LBNL
+ */
+#include <pybind11/pybind11.h>
+#include <pybind11/stl.h>
+#include <pybind11/stl_bind.h>
+#include <pybind11/functional.h>
+#include <pybind11/numpy.h>
+
+#include <list>
+
+namespace py = pybind11;
+//using namespace warpx;
+
+// PYBIND11_MAKE_OPAQUE(std::list<...>)