From 9d5550539a8902d585fd8a913475e2fded44b838 Mon Sep 17 00:00:00 2001 From: Remi Lehe Date: Wed, 10 Apr 2019 11:09:42 -0700 Subject: Convert box size to boosted frame, when using Python `step` function --- Source/Python/WarpXWrappers.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Source/Python/WarpXWrappers.cpp') diff --git a/Source/Python/WarpXWrappers.cpp b/Source/Python/WarpXWrappers.cpp index 6ee06a7d5..16d7cd841 100644 --- a/Source/Python/WarpXWrappers.cpp +++ b/Source/Python/WarpXWrappers.cpp @@ -5,6 +5,7 @@ #include #include #include +#include #include namespace @@ -170,6 +171,11 @@ extern "C" myspc.AddNParticles(lev, lenx, x, y, z, vx, vy, vz, nattr, attr, uniqueparticles); } + void warpx_ConvertLabParamsToBoost() + { + ConvertLabParamsToBoost(); + } + double warpx_getProbLo(int dir) { WarpX& warpx = WarpX::GetInstance(); -- cgit v1.2.3