feat(python): added python bindings

This commit is contained in:
2026-07-01 11:14:12 -04:00
parent 37416adb03
commit 39e5117a24
40 changed files with 2434 additions and 99 deletions

View File

@@ -0,0 +1,11 @@
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include "bindings.h"
#include "stroid/refinement/uniform.h"
namespace py = pybind11;
void register_refinement_bindings(pybind11::module_ &m) {
m.def("UniformRefinement", &stroid::refinement::UniformRefinement, py::arg("mesh"), py::arg("levels"), "Perform uniform refinement without breaking the higher order structure");
}