Skip to content
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

Ensure unique ordering for function get_all_nodes #128

Merged
merged 2 commits into from
Nov 18, 2024

Conversation

knarfnitram
Copy link
Collaborator

During #126 I encountered non-deterministic behavior for the function get_all_nodes, when they are used from a geometry based on a line set.

To ensure the same numbering of the nodes, some adjustments were made and a test case is added.

@knarfnitram knarfnitram force-pushed the ensure-unique-ordering-for-get-all-nodes branch 2 times, most recently from b6f97b0 to 31aa36d Compare November 14, 2024 14:41
@isteinbrecher isteinbrecher force-pushed the ensure-unique-ordering-for-get-all-nodes branch from 31aa36d to 82e8c5e Compare November 15, 2024 10:10
tests/testing_meshpy.py Outdated Show resolved Hide resolved
tests/testing_meshpy.py Outdated Show resolved Hide resolved
meshpy/geometry_set.py Show resolved Hide resolved
@knarfnitram knarfnitram force-pushed the ensure-unique-ordering-for-get-all-nodes branch from 82e8c5e to f1de55f Compare November 15, 2024 11:01
@isteinbrecher
Copy link
Collaborator

@knarfnitram thanks for the changes! Performance tests also pass, so the added sort functionality should at least not completely break the performance. Feel free to merge.

@knarfnitram
Copy link
Collaborator Author

Thanks @isteinbrecher for helping with the sort.
This MR is still blocked due to a missing approval ;)

@isteinbrecher isteinbrecher force-pushed the ensure-unique-ordering-for-get-all-nodes branch from f1de55f to 098ce4c Compare November 18, 2024 08:32
@isteinbrecher
Copy link
Collaborator

@knarfnitram I pushed a minor documentation fix. So you will need to rebase interpolate_dbc_monitor_input_final.

@isteinbrecher isteinbrecher merged commit 92a7270 into main Nov 18, 2024
3 checks passed
@isteinbrecher isteinbrecher deleted the ensure-unique-ordering-for-get-all-nodes branch November 18, 2024 08:53
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.

3 participants