From 16eb75c221ababa903adfc73946221c7f888955d Mon Sep 17 00:00:00 2001 From: Roelof Groenewald <40245517+roelof-groenewald@users.noreply.github.com> Date: Wed, 26 Jan 2022 15:05:59 -0800 Subject: Add Python callbacks before and after collisions (#2791) * add python callbacks before and after collisions * re-order callback declarations --- Source/Python/WarpX_py.H | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Source/Python/WarpX_py.H') 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; -- cgit v1.2.3