Mage: Fix BC export when node is not associate.

setup.py
Pierre-Antoine Rouby 2023-11-27 11:40:59 +01:00
parent c6274890a7
commit 12e3d779c6
1 changed files with 3 additions and 0 deletions

View File

@ -268,6 +268,9 @@ class Mage(CommandLineSolver):
for tab in ["liquid", "solid", "suspenssion"]:
for bound in lst.get_tab(tab):
if bound.node is None:
continue
if bound.bctype == "ZD":
AVA.append(bound)
elif bound.bctype == "TD" or bound.bctype == "PC":