Skip to content

Commit c047d63

Browse files
committed
more dependencies as test dependencies
1 parent 12b28cf commit c047d63

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

Project.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
88
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
99
ControlPlots = "23c2ee80-7a9e-4350-b264-8e670f12517c"
1010
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
11-
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
1211
Interpolations = "a98d9a8b-a2ab-59e6-89dd-64a1c18fca59"
1312
LaTeXStrings = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f"
1413
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
@@ -20,7 +19,6 @@ SharedArrays = "1a1011a3-84de-559e-8e89-a11a2f7dc383"
2019
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
2120
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
2221
Timers = "21f18d07-b854-4dab-86f0-c15a3821819a"
23-
Xfoil = "19641d66-a62d-11e8-2441-8f57a969a9c4"
2422

2523
[compat]
2624
BenchmarkTools = "1"
@@ -35,8 +33,12 @@ StaticArrays = "1"
3533
Statistics = "1"
3634

3735
[extras]
38-
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
36+
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
37+
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
38+
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
3939
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
40+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
41+
Xfoil = "19641d66-a62d-11e8-2441-8f57a969a9c4"
4042

4143
[targets]
42-
test = ["Test", "Documenter"]
44+
test = ["Test", "DataFrames", "CSV", "Distributed", "Documenter", "Xfoil"]

examples/ram_air_kite.jl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
using VortexStepMethod
2+
using LinearAlgebra
3+
using Pkg
4+
5+
if ! ("CSV" keys(Pkg.project().dependencies))
6+
using TestEnv; TestEnv.activate()
7+
end
28
using CSV
39
using DataFrames
4-
using LinearAlgebra
510

611
# Create wing geometry
712
wing = KiteWing("data/ram_air_kite_body.obj", "data/ram_air_kite_foil.dat")

scripts/polars.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ using Xfoil
44
using ControlPlots
55
using Logging
66

7-
const SPEED_OF_SOUND = 343 # https://en.wikipedia.org/wiki/Speed_of_sound
8-
const KINEMATIC_VISCOSITY = 1.460e-5 # https://en.wikipedia.org/wiki/Reynolds_number
7+
const SPEED_OF_SOUND = 343 # [m/s] at 20 °C, see: https://en.wikipedia.org/wiki/Speed_of_sound
8+
const KINEMATIC_VISCOSITY = 1.460e-5 # [m²/s] for the atmosphere at sea level.
9+
# see: https://en.wikipedia.org/wiki/Reynolds_number
910

1011
@info "Creating polars. This can take several minutes."
1112
tic()

src/VortexStepMethod.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ using LaTeXStrings
1212
using NonlinearSolve
1313
using Interpolations: linear_interpolation, Line, Extrapolation
1414
using Serialization
15-
using Distributed
1615
using SharedArrays
1716

1817
# Export public interface

0 commit comments

Comments
 (0)