diff options
author | 2019-04-18 11:26:51 -0700 | |
---|---|---|
committer | 2019-04-18 11:26:51 -0700 | |
commit | 5ed1a16ace5ed9d32e18e25b23ef87996679b4dc (patch) | |
tree | 110be73bd454bf2a673e2aa73b26b16cea29865c /Source/Python | |
parent | be0cbe26c1914f14e059be84b546934a3933ab85 (diff) | |
parent | ae239587668bbadc742ce5992afc6d6f814c5a3c (diff) | |
download | WarpX-5ed1a16ace5ed9d32e18e25b23ef87996679b4dc.tar.gz WarpX-5ed1a16ace5ed9d32e18e25b23ef87996679b4dc.tar.zst WarpX-5ed1a16ace5ed9d32e18e25b23ef87996679b4dc.zip |
Merge branch 'dev' into RZgeometry
Diffstat (limited to 'Source/Python')
-rw-r--r-- | Source/Python/WarpXWrappers.cpp | 6 | ||||
-rw-r--r-- | Source/Python/WarpXWrappers.h | 4 |
2 files changed, 9 insertions, 1 deletions
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 <WarpXWrappers.h> #include <WarpXParticleContainer.H> #include <WarpX.H> +#include <WarpXUtil.H> #include <WarpX_py.H> 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(); diff --git a/Source/Python/WarpXWrappers.h b/Source/Python/WarpXWrappers.h index 07d6f80f7..94fbb0d30 100644 --- a/Source/Python/WarpXWrappers.h +++ b/Source/Python/WarpXWrappers.h @@ -52,7 +52,9 @@ extern "C" { double* x, double* y, double* z, double* vx, double* vy, double* vz, int nattr, double* attr, int uniqueparticles); - + + void warpx_ConvertLabParamsToBoost(); + double warpx_getProbLo(int dir); double warpx_getProbHi(int dir); |