FEM: Fix white spaces

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
This commit is contained in:
Przemo Firszt 2015-09-22 11:09:55 +01:00 committed by Yorik van Havre
parent ee7beea983
commit 9ce1020d84

View File

@ -426,14 +426,17 @@ def is_solid_mesh(fem_mesh):
if fem_mesh.VolumeCount > 0: # solid mesh
return True
def has_no_face_data(fem_mesh):
if fem_mesh.FaceCount == 0: # mesh has no face data, could be a beam mesh or a solid mesh without face data
return True
def is_shell_mesh(fem_mesh):
if fem_mesh.VolumeCount == 0 and fem_mesh.FaceCount > 0: # shell mesh
return True
def is_beam_mesh(fem_mesh):
if fem_mesh.VolumeCount == 0 and fem_mesh.FaceCount == 0 and fem_mesh.EdgeCount > 0: # beam mesh
return True