mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
BC: Make node association unique (#25).
This commit is contained in:
1 parent
01fd7dbec8
commit
c69cbdb34e
2 files changed
+15
No files matched your search
@@ -89,3 +89,11 @@ class BoundaryConditionList(PamhyrModelListWithTab):
|
||||
|
||||
def copy(self):
|
||||
return copy(self)
|
||||
|
||||
def get_assoc_to_node(self, tab, node):
|
||||
return next(
|
||||
filter(
|
||||
lambda i: i.node is node,
|
||||
self._tabs[tab]
|
||||
)
|
||||
)
|
||||
Reference in new issue
Block a user