Skip to content

Commit 906cd2a

Browse files
committed
Add type MVec3
1 parent 9922006 commit 906cd2a

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1212
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
1313
Measures = "442fdcdd-2543-5da2-b0f3-8c86c306513e"
1414
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
15+
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
1516
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1617
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

src/VortexStepMethod.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module VortexStepMethod
22

33
using LinearAlgebra
4+
using StaticArrays
45
using Logging
56
using Statistics
67
using Colors
@@ -18,6 +19,13 @@ export add_section!, set_va!
1819
export calculate_span, calculate_projected_area
1920
export plot_wing, plot_circulation_distribution, plot_geometry, plot_distribution, plot_polars
2021

22+
"""
23+
const MVec3 = MVector{3, Float64}
24+
25+
Basic 3-dimensional vector, stack allocated, mutable.
26+
"""
27+
const MVec3 = MVector{3, Float64}
28+
2129
# Include core functionality
2230
include("wing_geometry.jl")
2331
include("filament.jl")

0 commit comments

Comments
 (0)