FEM: solver ccxtools, change object type

This commit is contained in:
Bernd Hahnebach
2020-05-21 15:04:18 +02:00
parent c70f0f5e04
commit 4a7d5c42a7
7 changed files with 9 additions and 9 deletions

View File

@@ -78,7 +78,7 @@ def run_analysis(doc, base_name, filepath=""):
from femtools.femutils import is_derived_from
if (
is_derived_from(m, "Fem::FemSolverObjectPython")
and m.Proxy.Type != "Fem::FemSolverCalculixCcxTools"
and m.Proxy.Type != "Fem::SolverCcxTools"
):
solver = m
break