FEM: Fix white spaces
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
This commit is contained in:
parent
ee7beea983
commit
9ce1020d84
|
@ -426,14 +426,17 @@ def is_solid_mesh(fem_mesh):
|
||||||
if fem_mesh.VolumeCount > 0: # solid mesh
|
if fem_mesh.VolumeCount > 0: # solid mesh
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
def has_no_face_data(fem_mesh):
|
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
|
if fem_mesh.FaceCount == 0: # mesh has no face data, could be a beam mesh or a solid mesh without face data
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
def is_shell_mesh(fem_mesh):
|
def is_shell_mesh(fem_mesh):
|
||||||
if fem_mesh.VolumeCount == 0 and fem_mesh.FaceCount > 0: # shell mesh
|
if fem_mesh.VolumeCount == 0 and fem_mesh.FaceCount > 0: # shell mesh
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
def is_beam_mesh(fem_mesh):
|
def is_beam_mesh(fem_mesh):
|
||||||
if fem_mesh.VolumeCount == 0 and fem_mesh.FaceCount == 0 and fem_mesh.EdgeCount > 0: # beam mesh
|
if fem_mesh.VolumeCount == 0 and fem_mesh.FaceCount == 0 and fem_mesh.EdgeCount > 0: # beam mesh
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue
Block a user