Skip to content

Rewriting some python code in C++ to speed it up #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 25 commits into from
Sep 10, 2024
Merged

Rewriting some python code in C++ to speed it up #28

merged 25 commits into from
Sep 10, 2024

Conversation

A-Hayasaka
Copy link
Collaborator

This PR rewrites functions with high computational costs, such as coordinate transformations and equations of motion, in C++, and then makes it possible to call them from python codes using pybind11.

Note that this change eliminates the dependency on Numba, but instead introduces a dependency on pybind11, and that the C++ codes must be compiled using the make command before executing GELATO itself.

@A-Hayasaka A-Hayasaka merged commit 3ddf714 into master Sep 10, 2024
2 checks passed
@A-Hayasaka A-Hayasaka deleted the pybind branch September 10, 2024 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants