Skip to content

Commit 6893b04

Browse files
committed
fix doc headers
1 parent cb45268 commit 6893b04

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

src/wing_geometry.jl

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11

22
"""
3-
Section
3+
Section{T}
44
55
Represents a wing section with leading edge, trailing edge, and aerodynamic properties.
66
77
# Fields
88
- `LE_point::MVec3`: Leading edge point coordinates
99
- `TE_point::MVec3`: Trailing edge point coordinates
10-
- `aero_input::Vector{Any}`: Aerodynamic input data for the section:
11-
- `("inviscid")`: Inviscid aerodynamics
12-
- `("polar_data", [alpha_column,CL_column,CD_column,CM_column])`: Polar data aerodynamics
13-
- `("lei_airfoil_breukels", [d_tube,camber])`: LEI airfoil with Breukels parameters
10+
- `aero_input`::T: Aerodynamic input, one of three possible types
1411
"""
1512
struct Section{T}
1613
LE_point::MVec3
@@ -61,8 +58,7 @@ mutable struct Wing <: AbstractWing
6158
end
6259

6360
"""
64-
add_section!(wing::Wing, LE_point::PosVector,
65-
TE_point::PosVector, aero_input::Vector{Any})
61+
add_section!(wing::Wing, LE_point::PosVector, TE_point::PosVector, aero_input)
6662
6763
Add a new section to the wing.
6864
"""
@@ -182,7 +178,7 @@ function interpolate_to_common_alpha(alpha_common,
182178
end
183179

184180
"""
185-
calculate_new_aero_input(aero_input::Vector{Any},
181+
calculate_new_aero_input(aero_input,
186182
section_index::Int,
187183
left_weight::Float64,
188184
right_weight::Float64)
@@ -272,7 +268,7 @@ end
272268
n_sections::Int,
273269
LE::Matrix{Float64},
274270
TE::Matrix{Float64},
275-
aero_input::Vector{Any})
271+
aero_input)
276272
277273
Refine wing mesh using linear or cosine spacing.
278274

0 commit comments

Comments
 (0)