FEM: member tools, pep8 and a comment
This commit is contained in:
@@ -137,7 +137,11 @@ def get_mesh_to_solve(analysis):
|
||||
"""
|
||||
mesh_to_solve = None
|
||||
for m in analysis.Group:
|
||||
if m.isDerivedFrom("Fem::FemMeshObject") and not femutils.is_of_type(m, "Fem::FemMeshResult"):
|
||||
if (
|
||||
m.isDerivedFrom("Fem::FemMeshObject")
|
||||
# the next line should not be needed as the result mesh is not a analysis member
|
||||
and not femutils.is_of_type(m, "Fem::FemMeshResult")
|
||||
):
|
||||
if not mesh_to_solve:
|
||||
mesh_to_solve = m
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user