From 402c30da6dd8db998b78f1fcc75bc4b511447c86 Mon Sep 17 00:00:00 2001 From: aveksler1 <124003120+aveksler1@users.noreply.github.com> Date: Fri, 21 Apr 2023 18:46:57 -0700 Subject: Add python callback call when a break signal is recieved (#3849) * added onbreaksignal python callback * added documentation * fixed bug executing onbreaksignal callbacks at stoptime * applied suggestion from code review. * updated doc-strings --- Source/Python/WarpX_py.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Python') diff --git a/Source/Python/WarpX_py.H b/Source/Python/WarpX_py.H index ddaa90ddc..83fc91f21 100644 --- a/Source/Python/WarpX_py.H +++ b/Source/Python/WarpX_py.H @@ -23,7 +23,7 @@ * afterEsolve, beforeInitEsolve, afterInitEsolve, * beforedeposition, afterdeposition, particlescraper, * particleloader, beforestep, afterstep, afterdiagnostics, afterrestart, - * oncheckpointsignal, particleinjection and appliedfields. + * oncheckpointsignal, onbreaksignal, particleinjection and appliedfields. */ extern std::map< std::string, WARPX_CALLBACK_PY_FUNC_0 > warpx_callback_py_map; -- cgit v1.2.3