Skip to content
Snippets Groups Projects
Commit 7b351a98 authored by Rahil Doshi's avatar Rahil Doshi
Browse files

Update fast_interpolation module to include the new interpolation cpp files

parent aac951c2
No related branches found
No related tags found
No related merge requests found
......@@ -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++'
),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment