-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enh: linear and efficient neighbour finder
- Loading branch information
Showing
7 changed files
with
1,153 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
add_subdirectory("neighs") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# In this directory we have a set of libraries | ||
# We will need to link to the Numpy includes | ||
set_property(DIRECTORY | ||
APPEND | ||
PROPERTY INCLUDE_DIRECTORIES | ||
${CMAKE_CURRENT_SOURCE_DIR}/.. | ||
) | ||
|
||
foreach(source | ||
cneighs | ||
) | ||
add_cython_library( | ||
SOURCE ${source}.pyx | ||
LIBRARY ${source} | ||
OUTPUT ${source}_C | ||
) | ||
install(TARGETS ${source} LIBRARY | ||
DESTINATION ${SKBUILD_PROJECT_NAME}/geom/neighs) | ||
endforeach() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from .neighfinder import NeighFinder |
Oops, something went wrong.