From 32f8c4c4654182bdf290e273529a7cd7c2a8eb52 Mon Sep 17 00:00:00 2001 From: timryanb <41971846+timryanb@users.noreply.github.com> Date: Fri, 10 Jul 2026 14:19:21 +0000 Subject: [PATCH] Fix non-deterministic boundary node ordering in panel-type constraints --- tacs/constraints/panel_length.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tacs/constraints/panel_length.py b/tacs/constraints/panel_length.py index 952eb33cd..cde4b24c3 100644 --- a/tacs/constraints/panel_length.py +++ b/tacs/constraints/panel_length.py @@ -755,8 +755,8 @@ def _getComponentBoundaryNodes(self, compIDs): allEdges.add(key) else: dupEdges.add(key) - # Now get a list of all the edges that aren't duplicated, these are the boundary edges - boundaryEdges = list(allEdges - dupEdges) + # Now get a sorted list of all the edges that aren't duplicated, these are the boundary edges + boundaryEdges = sorted(allEdges - dupEdges) # Create a nodeToElem Pointer using a dictionary: nodeToElem = {}