aboutsummaryrefslogtreecommitdiff
path: root/Source/Python
diff options
context:
space:
mode:
authorGravatar Roelof Groenewald <40245517+roelof-groenewald@users.noreply.github.com> 2022-01-26 15:05:59 -0800
committerGravatar GitHub <noreply@github.com> 2022-01-26 15:05:59 -0800
commit16eb75c221ababa903adfc73946221c7f888955d (patch)
tree8a39d3dbe624477f5a7ce79c7bf9acbe53f90bad /Source/Python
parent2a1510f1405ae5f189d377285d681dfe37f000ff (diff)
downloadWarpX-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.H7
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;