aboutsummaryrefslogtreecommitdiff
path: root/Source/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Python')
-rw-r--r--Source/Python/WarpX.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Python/WarpX.cpp b/Source/Python/WarpX.cpp
index 9ef5281b3..3429f33f5 100644
--- a/Source/Python/WarpX.cpp
+++ b/Source/Python/WarpX.cpp
@@ -143,6 +143,10 @@ void init_WarpX (py::module& m)
[](WarpX const & wx, int lev){ return wx.gett_new(lev); },
py::arg("lev")
)
+ .def("getdt",
+ [](WarpX const & wx, int lev){ return wx.getdt(lev); },
+ py::arg("lev")
+ )
.def("set_potential_on_eb",
[](WarpX& wx, std::string potential) {