-
-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
IndexMap::global_to_local
to the Python interface (#2972)
* Add `global_to_local` to the Python interface. Make it required to send in output array, as it makes sense from a performance perspective to let the user send in this array, as it might be used in loops. * Add global indices * Make indexmap local_to_global and global_to_local pure functions in python interface * Simplify
- Loading branch information
Showing
2 changed files
with
25 additions
and
3 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