diff options
author | 2022-01-26 15:05:59 -0800 | |
---|---|---|
committer | 2022-01-26 15:05:59 -0800 | |
commit | 16eb75c221ababa903adfc73946221c7f888955d (patch) | |
tree | 8a39d3dbe624477f5a7ce79c7bf9acbe53f90bad /Source/Python | |
parent | 2a1510f1405ae5f189d377285d681dfe37f000ff (diff) | |
download | WarpX-16eb75c221ababa903adfc73946221c7f888955d.tar.gz WarpX-16eb75c221ababa903adfc73946221c7f888955d.tar.zst WarpX-16eb75c221ababa903adfc73946221c7f888955d.zip |
Add Python callbacks before and after collisions (#2791)
* add python callbacks before and after collisions
* re-order callback declarations
Diffstat (limited to 'Source/Python')
-rw-r--r-- | Source/Python/WarpX_py.H | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/Python/WarpX_py.H b/Source/Python/WarpX_py.H index efc248591..15076ea35 100644 --- a/Source/Python/WarpX_py.H +++ b/Source/Python/WarpX_py.H @@ -19,9 +19,10 @@ * * The keys of the map describe at what point in the simulation the python * functions will be called. Currently supported keys (callback points) are - * afterinit, beforeEsolve, poissonsolver, afterEsolve, beforedeposition, - * afterdeposition, particlescraper, particleloader, beforestep, afterstep, - * afterrestart, particleinjection and appliedfields. + * afterinit, beforecollisions, aftercollisions, beforeEsolve, poissonsolver, + * afterEsolve, beforedeposition, afterdeposition, particlescraper, + * particleloader, beforestep, afterstep, afterrestart, particleinjection and + * appliedfields. */ extern std::map< std::string, WARPX_CALLBACK_PY_FUNC_0 > warpx_callback_py_map; |