aboutsummaryrefslogtreecommitdiff
path: root/Source/Python/WarpXWrappers.cpp
diff options
context:
space:
mode:
authorGravatar Remi Lehe <remi.lehe@normalesup.org> 2020-01-28 13:48:47 -0800
committerGravatar GitHub <noreply@github.com> 2020-01-28 13:48:47 -0800
commit055cf93d1d8d5346f705d347d120fad401859d65 (patch)
tree6031fd6d9c51a031680647c6671fa6bac35dde26 /Source/Python/WarpXWrappers.cpp
parent6a06d68c805e81e7f942716c07873d07f9b668e7 (diff)
parentf45d8027f47ad8255ecaacfe3b96c4671eefd3f9 (diff)
downloadWarpX-055cf93d1d8d5346f705d347d120fad401859d65.tar.gz
WarpX-055cf93d1d8d5346f705d347d120fad401859d65.tar.zst
WarpX-055cf93d1d8d5346f705d347d120fad401859d65.zip
Merge pull request #653 from ax3l/topic-simplifyPlotOptions
Simplify I/O Options
Diffstat (limited to 'Source/Python/WarpXWrappers.cpp')
-rw-r--r--Source/Python/WarpXWrappers.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/Python/WarpXWrappers.cpp b/Source/Python/WarpXWrappers.cpp
index e72d467d7..0be59b765 100644
--- a/Source/Python/WarpXWrappers.cpp
+++ b/Source/Python/WarpXWrappers.cpp
@@ -404,6 +404,11 @@ extern "C"
return warpx.plotInt ();
}
+ int warpx_openpmdInt () {
+ WarpX& warpx = WarpX::GetInstance();
+ return warpx.openpmdInt ();
+ }
+
void warpx_WriteCheckPointFile () {
WarpX& warpx = WarpX::GetInstance();
warpx.WriteCheckPointFile ();
@@ -412,6 +417,10 @@ extern "C"
WarpX& warpx = WarpX::GetInstance();
warpx.WritePlotFile ();
}
+ void warpx_WriteOpenPMDFile () {
+ WarpX& warpx = WarpX::GetInstance();
+ warpx.WriteOpenPMDFile ();
+ }
int warpx_finestLevel () {
WarpX& warpx = WarpX::GetInstance();