pytorch-sbs/network/CPP_NoCuda/PyMultiApp.cpp
2023-01-13 21:33:01 +01:00

14 lines
No EOL
304 B
C++

#include <pybind11/pybind11.h>
#include "MultiApp.h"
namespace py = pybind11;
PYBIND11_MODULE(PyMultiApp, m) {
m.doc() = "MultiApp Module";
py::class_<MultiApp>(m, "MultiApp")
.def(py::init<>())
.def("update_entrypoint",
&MultiApp::update_with_init_vector_multi_pattern);
}