Skip to content

Commit

Permalink
Removing useless if condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 committed Aug 30, 2022
1 parent 14287b7 commit 983eca9
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -569,10 +569,7 @@ The following contact settings are used for the ``CONTA174`` elements:
mapdl.esel('s', 'mat', '', 2)
mapdl.esel("r", "ename", "", elem)
esurf = mapdl.mesh._grid.linear_copy().extract_surface().clean()
if mapdl.mesh.n_elem == 1:
# pl.add_points(esurf)
pass
else:
if mapdl.mesh.n_elem != 1:
pl.add_mesh(esurf, show_edges=True, show_scalar_bar=False,
style='surface', color=color)
pl.show()
Expand Down

0 comments on commit 983eca9

Please sign in to comment.