Skip to content

Commit 2db705c

Browse files
committed
use MVec3 more
1 parent 4802685 commit 2db705c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/body_aerodynamics.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,13 @@ Returns:
138138
function calculate_panel_properties(section_list::Vector{Section}, n_panels::Int,
139139
aero_center_loc::Float64, control_point_loc::Float64)
140140
# Initialize arrays
141-
aero_centers = Vector{Float64}[]
142-
control_points = Vector{Float64}[]
143-
bound_points_1 = Vector{Float64}[]
144-
bound_points_2 = Vector{Float64}[]
145-
x_airf = Vector{Float64}[]
146-
y_airf = Vector{Float64}[]
147-
z_airf = Vector{Float64}[]
141+
aero_centers = MVec3[]
142+
control_points = MVec3[]
143+
bound_points_1 = MVec3[]
144+
bound_points_2 = MVec3[]
145+
x_airf = MVec3[]
146+
y_airf = MVec3[]
147+
z_airf = MVec3[]
148148

149149
# Define coordinates matrix
150150
coords = zeros(2 * (n_panels + 1), 3)

0 commit comments

Comments
 (0)