From f7fb5d22545e9e45c8bdaf348a70907bfb0201ec Mon Sep 17 00:00:00 2001 From: Rahil Doshi <rahil.doshi@fau.de> Date: Wed, 5 Mar 2025 02:14:25 +0100 Subject: [PATCH] Remove depricated cpp module --- src/pymatlib/core/cpp/module.cpp | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 src/pymatlib/core/cpp/module.cpp diff --git a/src/pymatlib/core/cpp/module.cpp b/src/pymatlib/core/cpp/module.cpp deleted file mode 100644 index e05bbb8..0000000 --- a/src/pymatlib/core/cpp/module.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include <pybind11/pybind11.h> -#include <pybind11/numpy.h> -#include "include/binary_search_interpolation.h" -#include "include/double_lookup_interpolation.h" - -namespace py = pybind11; - -PYBIND11_MODULE(fast_interpolation, m) { - m.doc() = "Fast interpolation methods implementation"; - - m.def("interpolate_binary_search", - &interpolate_binary_search, - "Find temperature using binary search and linear interpolation", - py::arg("temperature_array"), - py::arg("h_in"), - py::arg("energy_density_array")); - - m.def("interpolate_double_lookup", - &interpolate_double_lookup, - "Fast interpolation using double lookup method and linear interpolation", - py::arg("E_target"), - py::arg("T_eq"), - py::arg("E_neq"), - py::arg("E_eq"), - py::arg("inv_delta_E_eq"), - py::arg("idx_map")); -} -- GitLab