diff options
author | 2020-01-23 16:26:55 -0800 | |
---|---|---|
committer | 2020-01-28 10:08:28 -0800 | |
commit | 3dabb5801eacc36ca9fa6205534b374df9f7f5ea (patch) | |
tree | 8bf04fc32ef6b43e1d578cd77e453022d2b67a73 /Source/Python/WarpXWrappers.cpp | |
parent | 6a06d68c805e81e7f942716c07873d07f9b668e7 (diff) | |
download | WarpX-3dabb5801eacc36ca9fa6205534b374df9f7f5ea.tar.gz WarpX-3dabb5801eacc36ca9fa6205534b374df9f7f5ea.tar.zst WarpX-3dabb5801eacc36ca9fa6205534b374df9f7f5ea.zip |
Simplify Plot Options
Remove the `dump_plotfile` switch and only control via
interval value in `plot_int` for plotfiles.
Remove the `dump_openpmd` switch and only control via
interval value in `plot_openpmd` for openPMD data dumps.
openPMD: pick first available backend if unspecified.
Diffstat (limited to 'Source/Python/WarpXWrappers.cpp')
-rw-r--r-- | Source/Python/WarpXWrappers.cpp | 9 |
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(); |