ImpactX
pyImpactX.H
Go to the documentation of this file.
1 /* Copyright 2021-2023 The ImpactX Community
2  *
3  * This header is used to centrally define classes that shall not violate the
4  * C++ one-definition-rule (ODR) for various Python translation units.
5  *
6  * Authors: Axel Huebl
7  * License: BSD-3-Clause-LBNL
8  */
9 #ifndef IMPACTX_PYIMPACTX_H
10 #define IMPACTX_PYIMPACTX_H
11 
12 #include <pybind11/pybind11.h>
13 #include <pybind11/stl.h>
14 #include <pybind11/stl_bind.h>
15 #include <pybind11/functional.h>
16 
17 #include <particles/elements/All.H>
18 
19 #include <list>
20 
21 namespace py = pybind11;
22 using namespace impactx;
23 
24 PYBIND11_MAKE_OPAQUE(std::list<KnownElements>)
25 
26 #endif // IMPACTX_PYIMPACTX_H
Definition: ImpactX.cpp:35