diff options
Diffstat (limited to 'Source/Python/WarpXWrappers.cpp')
-rw-r--r-- | Source/Python/WarpXWrappers.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Source/Python/WarpXWrappers.cpp b/Source/Python/WarpXWrappers.cpp index e72d467d7..bf5377dae 100644 --- a/Source/Python/WarpXWrappers.cpp +++ b/Source/Python/WarpXWrappers.cpp @@ -1,3 +1,11 @@ +/* Copyright 2019 Andrew Myers, Axel Huebl, David Grote + * Luca Fedeli, Maxence Thevenet, Remi Lehe + * Weiqun Zhang + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ #include <WarpXWrappers.h> #include <WarpXParticleContainer.H> @@ -404,6 +412,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 +425,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(); |