pytorch-sbs/network/CPP_Cuda/PyMultiApp.cpp

14 lines
304 B
C++
Raw Normal View History

2023-01-05 13:23:58 +01:00
#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<>())
2023-01-13 21:32:23 +01:00
.def("update_entrypoint",
2023-01-05 13:23:58 +01:00
&MultiApp::update_with_init_vector_multi_pattern);
}