aboutsummaryrefslogtreecommitdiff
path: root/Source/Python/WarpXWrappers.cpp
diff options
context:
space:
mode:
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();