We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 801c411 commit 1c805c3Copy full SHA for 1c805c3
1 file changed
src/body_aerodynamics.jl
@@ -1,11 +1,11 @@
1
"""
2
- @with_kw mutable struct BodyAerodynamics{P}
+ @with_kw mutable struct BodyAerodynamics{P,W<:AbstractWing}
3
4
Main structure for calculating aerodynamic properties of bodies. Use the constructor to initialize.
5
6
# Fields
7
- panels::Vector{Panel}: Vector of refined [Panel](@ref) structs
8
-- wings::Vector{Wing}: A vector of wings; a body can have multiple wings
+- wings::Vector{W}: A vector of wings of type `W <: AbstractWing`; a body can have multiple wings
9
- `va::MVec3` = zeros(MVec3): A vector of the apparent wind speed, see: [MVec3](@ref)
10
- `omega`::MVec3 = zeros(MVec3): A vector of the turn rates around the kite body axes
11
- `gamma_distribution`=zeros(Float64, P): A vector of the circulation
0 commit comments