aboutsummaryrefslogtreecommitdiff
path: root/Source/WarpX_py.cpp
diff options
context:
space:
mode:
authorGravatar Dave Grote <grote1@llnl.gov> 2017-12-06 10:58:15 -0800
committerGravatar Dave Grote <grote1@llnl.gov> 2017-12-06 10:58:15 -0800
commit6e7ea8d95b3eb2ca63ed7c557c379167ba058ff2 (patch)
tree2e109d152f18f6482654c310f6c5f551ad02e545 /Source/WarpX_py.cpp
parent176528a9498b17c22279af621a8abc1647f5413a (diff)
downloadWarpX-6e7ea8d95b3eb2ca63ed7c557c379167ba058ff2.tar.gz
WarpX-6e7ea8d95b3eb2ca63ed7c557c379167ba058ff2.tar.zst
WarpX-6e7ea8d95b3eb2ca63ed7c557c379167ba058ff2.zip
Added python callbacks, like beforestep etc
Diffstat (limited to 'Source/WarpX_py.cpp')
-rw-r--r--Source/WarpX_py.cpp15
1 files changed, 14 insertions, 1 deletions
diff --git a/Source/WarpX_py.cpp b/Source/WarpX_py.cpp
index 8f7b36e45..276d637d7 100644
--- a/Source/WarpX_py.cpp
+++ b/Source/WarpX_py.cpp
@@ -1,6 +1,19 @@
#include <WarpX_py.H>
extern "C" {
- WARPX_CALLBACK_PY_FUNC_1 warpx_py_print_step = 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_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;
+
}