Skip to content

Commit

Permalink
min_radius correction
Browse files Browse the repository at this point in the history
  • Loading branch information
GBenedett committed Mar 6, 2024
1 parent a11eb44 commit b48fda8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ceasiompy/CPACS2GMSH/func/mesh_sizing.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ def fuselage_size(cpacs_path):

# Get overall minimum radius (semi-minor axis for ellipse)
min_radius = min(min_radius, height, width)
if min_radius == 0:
min_radius = 0.0001

mean_circ = sum(circ_list) / len(circ_list)

Expand Down

0 comments on commit b48fda8

Please sign in to comment.