Skip to content

Commit 82b4b6a

Browse files
committed
fix/ improve comments
1 parent 6893b04 commit 82b4b6a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/kite_geometry.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,9 @@ mutable struct KiteWing <: AbstractWing
204204
te_interp::Extrapolation
205205
area_interp::Extrapolation
206206

207-
function KiteWing(obj_path, dat_path; alpha=0.0, n_sections=20, crease_frac=0.75, wind_vel=10., mass=1.0, n_panels=54, spanwise_panel_distribution=:linear, spanwise_direction=[0.0, 1.0, 0.0])
207+
function KiteWing(obj_path, dat_path; alpha=0.0, n_sections=20, crease_frac=0.75, wind_vel=10., mass=1.0,
208+
n_panels=54, spanwise_panel_distribution=:linear, spanwise_direction=[0.0, 1.0, 0.0])
209+
208210
!isapprox(spanwise_direction, [0.0, 1.0, 0.0]) && @error "Spanwise direction has to be [0.0, 1.0, 0.0]"
209211

210212
# Load or create polars

src/panel.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,14 +414,16 @@ Calculate the velocity induced by a vortex ring at a control point.
414414
end
415415

416416
"""
417-
calculate_velocity_induced_bound_2D!(panel::Panel, evaluation_point::Vector{Float64})
417+
calculate_velocity_induced_bound_2D!(U2D, panel::Panel, evaluation_point, work_vectors)
418418
419419
Calculate velocity induced by bound vortex filaments at the control point.
420420
Only needed for VSM, as LLT bound and filament align, thus no induced velocity.
421421
422422
# Arguments
423+
- U_2D: unclear
423424
- `panel::Panel`: Panel object
424-
- `evaluation_point::Vector{Float64}`: Point where induced velocity is evaluated
425+
- `evaluation_point`: Point where induced velocity is evaluated
426+
- work_vectors: unclear
425427
426428
# Returns
427429
- `Vector{Float64}`: Induced velocity at the control point

0 commit comments

Comments
 (0)