@@ -50,10 +50,10 @@ mutable struct Panel
5050 function Panel (
5151 section_1:: Section ,
5252 section_2:: Section ,
53- aerodynamic_center:: Vector{Float64} ,
54- control_point:: Vector{Float64} ,
55- bound_point_1:: Vector{Float64} ,
56- bound_point_2:: Vector{Float64} ,
53+ aerodynamic_center:: PosVector ,
54+ control_point:: PosVector ,
55+ bound_point_1:: PosVector ,
56+ bound_point_2:: PosVector ,
5757 x_airf:: Vector{Float64} ,
5858 y_airf:: Vector{Float64} ,
5959 z_airf:: Vector{Float64}
@@ -352,10 +352,10 @@ Calculate the velocity induced by a vortex ring at a control point.
352352"""
353353function calculate_velocity_induced_single_ring_semiinfinite (
354354 panel:: Panel ,
355- evaluation_point:: Vector{Float64} ,
355+ evaluation_point:: PosVector ,
356356 evaluation_point_on_bound:: Bool ,
357357 va_norm:: Float64 ,
358- va_unit:: Vector{Float64} ,
358+ va_unit:: VelVector ,
359359 gamma:: Float64 ,
360360 core_radius_fraction:: Float64 ,
361361 work_vectors:: NTuple{10,Vector{Float64}}
@@ -421,7 +421,7 @@ Only needed for VSM, as LLT bound and filament align, thus no induced velocity.
421421"""
422422function calculate_velocity_induced_bound_2D (
423423 panel:: Panel ,
424- evaluation_point:: Vector{Float64}
424+ evaluation_point:: PosVector
425425)
426426 # r3 perpendicular to the bound vortex
427427 r3 = evaluation_point - (panel. bound_point_1 + panel. bound_point_2) / 2
0 commit comments