ImpactX
Loading...
Searching...
No Matches
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/functional.h>
14// include <pybind11/numpy.h> // not yet used
15#include <pybind11/stl.h>
16#include <pybind11/stl_bind.h>
17#include <pybind11/warnings.h>
18
19#include <ImpactX.H>
20#include <elements/All.H>
21
22#include <functional>
23#include <list>
24#include <string>
25#include <unordered_map>
26
27namespace py = pybind11;
28using namespace impactx;
29
30PYBIND11_MAKE_OPAQUE(std::list<elements::KnownElements>)
31PYBIND11_MAKE_OPAQUE(std::unordered_map<std::string, std::function<void(ImpactX *)> >)
32
33#endif // IMPACTX_PYIMPACTX_H
Definition ImpactX.H:34
Definition CovarianceMatrixMath.H:25