ImpactX
Toggle main menu visibility
Loading...
Searching...
No Matches
src
python
pyImpactX.H
Go to the documentation of this file.
1
/* Copyright 2022-2026 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
27
namespace
py = pybind11;
28
using namespace
impactx
;
29
30
PYBIND11_MAKE_OPAQUE(std::list<elements::KnownElements>)
31
PYBIND11_MAKE_OPAQUE(std::unordered_map<std::string, std::function<
void
(
ImpactX
*)> >)
32
33
#endif
// IMPACTX_PYIMPACTX_H
ImpactX.H
impactx::ImpactX
Definition
ImpactX.H:34
All.H
impactx
Definition
CovarianceMatrixMath.H:25
Generated by
1.17.0