From 7b351a98d97be8372317ea7e624038048e359c80 Mon Sep 17 00:00:00 2001
From: Rahil Doshi <rahil.doshi@fau.de>
Date: Mon, 27 Jan 2025 16:37:00 +0100
Subject: [PATCH] Update fast_interpolation module to include the new
 interpolation cpp files

---
 setup.py | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index ed646c5..594f94f 100644
--- a/setup.py
+++ b/setup.py
@@ -6,8 +6,13 @@ import pybind11
 ext_modules = [
     Extension(
         "pymatlib.core.cpp.fast_interpolation",  # Module name in Python
-        ["src/pymatlib/core/cpp/temperature_from_energy_density_array.cpp"],
-        include_dirs=[pybind11.get_include()],
+        [
+            "src/pymatlib/core/cpp/module.cpp",
+            "src/pymatlib/core/cpp/binary_search_interpolation.cpp",
+            "src/pymatlib/core/cpp/double_lookup_interpolation.cpp",
+        ],
+        include_dirs=[pybind11.get_include(),
+                      "src/pymatlib/core/cpp/include"],
         extra_compile_args=['-O3', '-std=c++11'],  # Enable high optimization and C++11
         language='c++'
     ),
-- 
GitLab