Skip to content

Commit

Permalink
Add docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
BTV25 committed Jan 13, 2025
1 parent e5a1f08 commit 1953204
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/nonlinear.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# This file exists to allow for the nonlinear VLM solver that takes into account airfoil polars

"""
SectionProperties
"""
struct SectionProperties{TF}
α::Array{TF,0}
cl::Array{TF,0}
Expand All @@ -20,6 +23,11 @@ function SectionProperties(panels_indicies, gammas, area, airfoil, contour)
return SectionProperties(α, cl, cd, panels_indicies, gammas, area, force, airfoil, contour)
end

"""
grid_to_sections(grid, airfoils;
ratios=zeros(2, size(grid, 2)-1, size(grid, 3)-1) .+ [0.5;0.75],
contours=zeros(1,1))
"""
function grid_to_sections(grid, airfoils;
ratios=zeros(2, size(grid, 2)-1, size(grid, 3)-1) .+ [0.5;0.75],
contours=zeros(1,1))
Expand Down

0 comments on commit 1953204

Please sign in to comment.