Skip to content

Commit 25a6384

Browse files
committed
use MVec3 for Panel
1 parent e6cab17 commit 25a6384

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/panel.jl

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ Represents a panel in a vortex step method simulation.
2525
- `filaments::Vector{BoundFilament}`: Panel filaments
2626
"""
2727
mutable struct Panel
28-
TE_point_1::Vector{Float64}
29-
LE_point_1::Vector{Float64}
30-
TE_point_2::Vector{Float64}
31-
LE_point_2::Vector{Float64}
28+
TE_point_1::MVec3
29+
LE_point_1::MVec3
30+
TE_point_2::MVec3
31+
LE_point_2::MVec3
3232
chord::Float64
3333
va::Union{Nothing,Vector{Float64}}
3434
corner_points::Matrix{Float64}
@@ -37,13 +37,13 @@ mutable struct Panel
3737
cd_coefficients::Union{Nothing,Vector{Float64}}
3838
cm_coefficients::Union{Nothing,Vector{Float64}}
3939
panel_polar_data::Union{Nothing,Matrix{Float64}}
40-
aerodynamic_center::Vector{Float64}
41-
control_point::Vector{Float64}
42-
bound_point_1::Vector{Float64}
43-
bound_point_2::Vector{Float64}
44-
x_airf::Vector{Float64}
45-
y_airf::Vector{Float64}
46-
z_airf::Vector{Float64}
40+
aerodynamic_center::MVec3
41+
control_point::MVec3
42+
bound_point_1::MVec3
43+
bound_point_2::MVec3
44+
x_airf::MVec3
45+
y_airf::MVec3
46+
z_airf::MVec3
4747
width::Float64
4848
filaments::Vector{Union{BoundFilament, SemiInfiniteFilament}}
4949

0 commit comments

Comments
 (0)