diff options
Diffstat (limited to 'Source/Python/WarpX_py.cpp')
-rw-r--r-- | Source/Python/WarpX_py.cpp | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/Source/Python/WarpX_py.cpp b/Source/Python/WarpX_py.cpp index e2705c554..1d69ea8f3 100644 --- a/Source/Python/WarpX_py.cpp +++ b/Source/Python/WarpX_py.cpp @@ -7,21 +7,16 @@ */ #include "WarpX_py.H" - -extern "C" { - - WARPX_CALLBACK_PY_FUNC_0 warpx_py_afterinit = nullptr; - WARPX_CALLBACK_PY_FUNC_0 warpx_py_beforeEsolve = nullptr; - WARPX_CALLBACK_PY_FUNC_0 warpx_py_poissonsolver = nullptr; - WARPX_CALLBACK_PY_FUNC_0 warpx_py_afterEsolve = nullptr; - WARPX_CALLBACK_PY_FUNC_0 warpx_py_beforedeposition = nullptr; - WARPX_CALLBACK_PY_FUNC_0 warpx_py_afterdeposition = nullptr; - WARPX_CALLBACK_PY_FUNC_0 warpx_py_particlescraper = nullptr; - WARPX_CALLBACK_PY_FUNC_0 warpx_py_particleloader = nullptr; - WARPX_CALLBACK_PY_FUNC_0 warpx_py_beforestep = nullptr; - WARPX_CALLBACK_PY_FUNC_0 warpx_py_afterstep = nullptr; - WARPX_CALLBACK_PY_FUNC_0 warpx_py_afterrestart = nullptr; - WARPX_CALLBACK_PY_FUNC_0 warpx_py_particleinjection = nullptr; - WARPX_CALLBACK_PY_FUNC_0 warpx_py_appliedfields = nullptr; - -} +WARPX_CALLBACK_PY_FUNC_0 warpx_py_afterinit = nullptr; +WARPX_CALLBACK_PY_FUNC_0 warpx_py_beforeEsolve = nullptr; +WARPX_CALLBACK_PY_FUNC_0 warpx_py_poissonsolver = nullptr; +WARPX_CALLBACK_PY_FUNC_0 warpx_py_afterEsolve = nullptr; +WARPX_CALLBACK_PY_FUNC_0 warpx_py_beforedeposition = nullptr; +WARPX_CALLBACK_PY_FUNC_0 warpx_py_afterdeposition = nullptr; +WARPX_CALLBACK_PY_FUNC_0 warpx_py_particlescraper = nullptr; +WARPX_CALLBACK_PY_FUNC_0 warpx_py_particleloader = nullptr; +WARPX_CALLBACK_PY_FUNC_0 warpx_py_beforestep = nullptr; +WARPX_CALLBACK_PY_FUNC_0 warpx_py_afterstep = nullptr; +WARPX_CALLBACK_PY_FUNC_0 warpx_py_afterrestart = nullptr; +WARPX_CALLBACK_PY_FUNC_0 warpx_py_particleinjection = nullptr; +WARPX_CALLBACK_PY_FUNC_0 warpx_py_appliedfields = nullptr; |