Skip to content

Commit e41d4e2

Browse files
authored
Add examples using ControlPlots without copying examples (#220)
- [x] add examples_cp/menu_cp.jl - [x] use the same plot layout as in the old ControlPlots-based examples - [x] update documentation - [x] fix the install script (it did not copy the default manifest on Julia 1.12) - [x] fix the JETLS warnings - [x] fix test failure on Windows - [x] run all examples and fail if one of them fails - [x] with GLMakie backend, save as png and not as pdf because GLMakie does not support pdf
1 parent 3191a39 commit e41d4e2

39 files changed

Lines changed: 1505 additions & 1381 deletions

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,8 @@ hooks
3131
.vscode/
3232
.vscode
3333
.idea
34-
Manifest-v1.11.toml.default
34+
results/TUDELFT_V3_KITE/polars/tutorial_testing_stall_model_n_panels_54_distribution_SPLIT_PROVIDED.pdf
35+
data/ram_air_kite/ram_air_kite_foil_cl_polar.csv
36+
.gitignore
37+
data/ram_air_kite/ram_air_kite_foil_cd_polar.csv
38+
data/ram_air_kite/ram_air_kite_foil_cm_polar.csv

.markdownlint.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"MD007": {
3+
"indent": 2,
4+
"start_indented": false
5+
},
6+
"MD013": {
7+
"line_length": 1000,
8+
"tables": false
9+
},
10+
"MD024": {
11+
"siblings_only": true
12+
},
13+
"MD022": false,
14+
"MD032": false,
15+
"MD033": false,
16+
"MD041": false,
17+
"default": true
18+
}

Manifest-v1.11.toml.default

Lines changed: 27 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
julia_version = "1.11.9"
44
manifest_format = "2.0"
5-
project_hash = "70caaf7b57cba8f4bbecefcbe462732983417b53"
5+
project_hash = "2208ea1100be74002e5a4dc77070f9be50832d18"
66

77
[[deps.ADTypes]]
88
git-tree-sha1 = "f7304359109c768cf32dc5fa2d371565bb63b68a"
@@ -56,9 +56,9 @@ version = "1.1.2"
5656

5757
[[deps.ArrayInterface]]
5858
deps = ["Adapt", "LinearAlgebra"]
59-
git-tree-sha1 = "78b3a7a536b4b0a747a0f296ea77091ca0a9f9a3"
59+
git-tree-sha1 = "54f895554d05c83e3dd59f6a396671dae8999573"
6060
uuid = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
61-
version = "7.23.0"
61+
version = "7.24.0"
6262

6363
[deps.ArrayInterface.extensions]
6464
ArrayInterfaceAMDGPUExt = "AMDGPU"
@@ -312,11 +312,6 @@ git-tree-sha1 = "27415f162e6028e81c72b82ef756bf321213b6ec"
312312
uuid = "e2ba6199-217a-4e67-a87a-7c52f15ade04"
313313
version = "0.1.10"
314314

315-
[[deps.ExproniconLite]]
316-
git-tree-sha1 = "c13f0b150373771b0fdc1713c97860f8df12e6c2"
317-
uuid = "55351af7-c7e9-48d6-89ff-24e801d99491"
318-
version = "0.10.14"
319-
320315
[[deps.FastClosures]]
321316
git-tree-sha1 = "acebe244d53ee1b461970f8910c235b259e772ef"
322317
uuid = "9aa1b823-49e4-5ca5-8b0f-3971ec8bab6a"
@@ -328,9 +323,9 @@ version = "1.11.0"
328323

329324
[[deps.FiniteDiff]]
330325
deps = ["ArrayInterface", "LinearAlgebra", "Setfield"]
331-
git-tree-sha1 = "9340ca07ca27093ff68418b7558ca37b05f8aeb1"
326+
git-tree-sha1 = "73e879af0e767bd6dfade7c5b09d7b05657a8284"
332327
uuid = "6a86dc24-6348-571c-b903-95158fe2bd41"
333-
version = "2.29.0"
328+
version = "2.30.0"
334329

335330
[deps.FiniteDiff.extensions]
336331
FiniteDiffBandedMatricesExt = "BandedMatrices"
@@ -367,9 +362,9 @@ version = "1.1.3"
367362

368363
[[deps.FunctionWrappersWrappers]]
369364
deps = ["FunctionWrappers", "PrecompileTools", "TruncatedStacktraces"]
370-
git-tree-sha1 = "3e13d0b39d117a03d3fb5c88a039e94787a37fcb"
365+
git-tree-sha1 = "ce6762f8f0e7542534f01523ae051e625cbf0468"
371366
uuid = "77dc65aa-8811-40c2-897b-53d922fa7daf"
372-
version = "1.4.0"
367+
version = "1.5.0"
373368

374369
[deps.FunctionWrappersWrappers.extensions]
375370
FunctionWrappersWrappersEnzymeExt = ["Enzyme", "EnzymeCore"]
@@ -445,12 +440,6 @@ git-tree-sha1 = "0533e564aae234aff59ab625543145446d8b6ec2"
445440
uuid = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210"
446441
version = "1.7.1"
447442

448-
[[deps.Jieko]]
449-
deps = ["ExproniconLite"]
450-
git-tree-sha1 = "2f05ed29618da60c06a87e9c033982d4f71d0b6c"
451-
uuid = "ae98c720-c025-4a4a-838c-29b094483192"
452-
version = "0.2.1"
453-
454443
[[deps.Krylov]]
455444
deps = ["LinearAlgebra", "Printf", "SparseArrays"]
456445
git-tree-sha1 = "c4d19f51afc7ba2afbe32031b8f2d21b11c9e26e"
@@ -521,9 +510,9 @@ version = "1.11.0"
521510

522511
[[deps.LinearSolve]]
523512
deps = ["ArrayInterface", "ConcreteStructs", "DocStringExtensions", "EnumX", "GPUArraysCore", "InteractiveUtils", "Krylov", "Libdl", "LinearAlgebra", "MKL_jll", "Markdown", "OpenBLAS_jll", "PrecompileTools", "Preferences", "RecursiveArrayTools", "Reexport", "SciMLBase", "SciMLLogging", "SciMLOperators", "Setfield", "StaticArraysCore"]
524-
git-tree-sha1 = "35b6d3b3cfa50f97a7e13bfdd3b82d9f9fcb68af"
513+
git-tree-sha1 = "42b5cb44317e89ef75dd841c9c8eba9045bf9ff0"
525514
uuid = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae"
526-
version = "3.72.0"
515+
version = "3.75.0"
527516

528517
[deps.LinearSolve.extensions]
529518
LinearSolveAMDGPUExt = "AMDGPU"
@@ -548,7 +537,9 @@ version = "3.72.0"
548537
LinearSolveKrylovKitExt = "KrylovKit"
549538
LinearSolveMetalExt = "Metal"
550539
LinearSolveMooncakeExt = "Mooncake"
540+
LinearSolvePETScCSRExt = ["PETSc", "SparseArrays", "SparseMatricesCSR"]
551541
LinearSolvePETScExt = ["PETSc", "SparseArrays"]
542+
LinearSolvePETScMPIExt = ["PETSc", "PartitionedArrays", "SparseArrays", "SparseMatricesCSR"]
552543
LinearSolveParUExt = ["ParU_jll", "SparseArrays"]
553544
LinearSolvePardisoExt = ["Pardiso", "SparseArrays"]
554545
LinearSolveRecursiveFactorizationExt = "RecursiveFactorization"
@@ -581,8 +572,10 @@ version = "3.72.0"
581572
PETSc = "ace2c81b-2b5f-4b1e-a30d-d662738edfe0"
582573
ParU_jll = "9e0b026c-e8ce-559c-a2c4-6a3d5c955bc9"
583574
Pardiso = "46dd5b70-b6fb-5a00-ae2d-e8fea33afaf2"
575+
PartitionedArrays = "5a9dfac6-5c52-46f7-8278-5e2210713be9"
584576
RecursiveFactorization = "f2c3362d-daeb-58d1-803e-2bc74f2840b4"
585577
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
578+
SparseMatricesCSR = "a0a7dd2c-ebf4-11e9-1f05-cf50bc540ca1"
586579
Sparspak = "e56a9233-b9d6-4f03-8d0f-1825330902ac"
587580
blis_jll = "6136c539-28a5-5bf0-87cc-b183200dce32"
588581

@@ -652,12 +645,6 @@ version = "0.3.3"
652645
uuid = "a63ad114-7e13-5084-954f-fe012c677804"
653646
version = "1.11.0"
654647

655-
[[deps.Moshi]]
656-
deps = ["ExproniconLite", "Jieko"]
657-
git-tree-sha1 = "53f817d3e84537d84545e0ad749e483412dd6b2a"
658-
uuid = "2e0e35c7-a2e4-4343-998d-7ef72827ed2d"
659-
version = "0.3.7"
660-
661648
[[deps.MozillaCACerts_jll]]
662649
uuid = "14a3606d-f60d-562e-9121-12d972cd8159"
663650
version = "2023.12.12"
@@ -707,9 +694,9 @@ version = "4.17.1"
707694

708695
[[deps.NonlinearSolveBase]]
709696
deps = ["ADTypes", "Adapt", "ArrayInterface", "CommonSolve", "Compat", "ConcreteStructs", "DifferentiationInterface", "EnzymeCore", "FastClosures", "FunctionWrappers", "FunctionWrappersWrappers", "LinearAlgebra", "LogExpFunctions", "Markdown", "MaybeInplace", "PreallocationTools", "PrecompileTools", "Preferences", "Printf", "RecursiveArrayTools", "SciMLBase", "SciMLJacobianOperators", "SciMLLogging", "SciMLOperators", "SciMLStructures", "Setfield", "StaticArraysCore", "SymbolicIndexingInterface", "TimerOutputs"]
710-
git-tree-sha1 = "5bd437a82d7e5eee049a1b488dedc726f0b84bd4"
697+
git-tree-sha1 = "a19a5df29ef2b197499fc631fa1a59385ae15262"
711698
uuid = "be0214bd-f91f-a760-ac4e-3421ce2b2da0"
712-
version = "2.24.0"
699+
version = "2.25.0"
713700

714701
[deps.NonlinearSolveBase.extensions]
715702
NonlinearSolveBaseBandedMatricesExt = "BandedMatrices"
@@ -866,17 +853,19 @@ version = "1.3.4"
866853

867854
[[deps.RecursiveArrayTools]]
868855
deps = ["Adapt", "ArrayInterface", "DocStringExtensions", "GPUArraysCore", "LinearAlgebra", "PrecompileTools", "RecipesBase", "StaticArraysCore", "SymbolicIndexingInterface"]
869-
git-tree-sha1 = "d0282d612f22dcad7b81cf487b746e63aa2a6709"
856+
git-tree-sha1 = "79a5a1a5b6294c54602d18a59026ec0b07471054"
870857
uuid = "731186ca-8d62-57ce-b412-fbd966d074cd"
871-
version = "3.54.0"
858+
version = "4.2.0"
872859

873860
[deps.RecursiveArrayTools.extensions]
861+
RecursiveArrayToolsCUDAExt = "CUDA"
874862
RecursiveArrayToolsFastBroadcastExt = "FastBroadcast"
875863
RecursiveArrayToolsFastBroadcastPolyesterExt = ["FastBroadcast", "Polyester"]
876864
RecursiveArrayToolsForwardDiffExt = "ForwardDiff"
877865
RecursiveArrayToolsKernelAbstractionsExt = "KernelAbstractions"
878866
RecursiveArrayToolsMeasurementsExt = "Measurements"
879867
RecursiveArrayToolsMonteCarloMeasurementsExt = "MonteCarloMeasurements"
868+
RecursiveArrayToolsMooncakeExt = "Mooncake"
880869
RecursiveArrayToolsReverseDiffExt = ["ReverseDiff", "Zygote"]
881870
RecursiveArrayToolsSparseArraysExt = ["SparseArrays"]
882871
RecursiveArrayToolsStatisticsExt = "Statistics"
@@ -886,11 +875,13 @@ version = "3.54.0"
886875
RecursiveArrayToolsZygoteExt = "Zygote"
887876

888877
[deps.RecursiveArrayTools.weakdeps]
878+
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
889879
FastBroadcast = "7034ab61-46d4-4ed7-9d0f-46aef9175898"
890880
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
891881
KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c"
892882
Measurements = "eff96d63-e80a-5855-80a2-b1b0885c5ab7"
893883
MonteCarloMeasurements = "0987c9cc-fe09-11e8-30f0-b96dd679fdca"
884+
Mooncake = "da2b9cff-9c12-43a0-ae48-6db2b0edb7d6"
894885
Polyester = "f517fe37-dbe3-4b94-8317-1923a5111588"
895886
ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267"
896887
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
@@ -922,18 +913,17 @@ uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"
922913
version = "0.7.0"
923914

924915
[[deps.SciMLBase]]
925-
deps = ["ADTypes", "Accessors", "Adapt", "ArrayInterface", "CommonSolve", "ConstructionBase", "Distributed", "DocStringExtensions", "EnumX", "FunctionWrappersWrappers", "IteratorInterfaceExtensions", "LinearAlgebra", "Logging", "Markdown", "Moshi", "PreallocationTools", "PrecompileTools", "Preferences", "Printf", "RecipesBase", "RecursiveArrayTools", "Reexport", "RuntimeGeneratedFunctions", "SciMLLogging", "SciMLOperators", "SciMLPublic", "SciMLStructures", "StaticArraysCore", "Statistics", "SymbolicIndexingInterface"]
926-
git-tree-sha1 = "908c0bf271604d09393a21c142116ab26f66f67c"
916+
deps = ["ADTypes", "Accessors", "Adapt", "ArrayInterface", "CommonSolve", "ConstructionBase", "Distributed", "DocStringExtensions", "EnumX", "FunctionWrappersWrappers", "IteratorInterfaceExtensions", "LinearAlgebra", "Logging", "Markdown", "PreallocationTools", "PrecompileTools", "Preferences", "Printf", "Random", "RecipesBase", "RecursiveArrayTools", "Reexport", "RuntimeGeneratedFunctions", "SciMLLogging", "SciMLOperators", "SciMLPublic", "SciMLStructures", "StaticArraysCore", "Statistics", "SymbolicIndexingInterface"]
917+
git-tree-sha1 = "4fdad3606c60fbbd52424737c31ec4141672c809"
927918
uuid = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
928-
version = "2.154.0"
919+
version = "3.3.0"
929920

930921
[deps.SciMLBase.extensions]
931922
SciMLBaseChainRulesCoreExt = "ChainRulesCore"
932923
SciMLBaseDifferentiationInterfaceExt = "DifferentiationInterface"
933924
SciMLBaseDistributionsExt = "Distributions"
934925
SciMLBaseEnzymeExt = "Enzyme"
935926
SciMLBaseForwardDiffExt = "ForwardDiff"
936-
SciMLBaseMLStyleExt = "MLStyle"
937927
SciMLBaseMakieExt = "Makie"
938928
SciMLBaseMeasurementsExt = "Measurements"
939929
SciMLBaseMonteCarloMeasurementsExt = "MonteCarloMeasurements"
@@ -953,7 +943,6 @@ version = "2.154.0"
953943
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
954944
Enzyme = "7da242da-08ed-463a-9acd-ee780be4f1d9"
955945
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
956-
MLStyle = "d8e11817-5142-5d16-987a-aa16d5891078"
957946
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"
958947
Measurements = "eff96d63-e80a-5855-80a2-b1b0885c5ab7"
959948
MonteCarloMeasurements = "0987c9cc-fe09-11e8-30f0-b96dd679fdca"
@@ -1120,12 +1109,6 @@ deps = ["ArgTools", "SHA"]
11201109
uuid = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e"
11211110
version = "1.10.0"
11221111

1123-
[[deps.TestEnv]]
1124-
deps = ["Pkg"]
1125-
git-tree-sha1 = "e21da71a6049fdf731e9905d1707c50cc0a84dfd"
1126-
uuid = "1e6cf692-eddd-4d53-88a5-2d735e33781b"
1127-
version = "1.103.6"
1128-
11291112
[[deps.TimerOutputs]]
11301113
deps = ["ExprTools", "Printf"]
11311114
git-tree-sha1 = "3748bd928e68c7c346b52125cf41fff0de6937d0"
@@ -1139,10 +1122,10 @@ version = "0.5.29"
11391122
FlameGraphs = "08572546-2f56-4bcf-ba4e-bab62c3a3f89"
11401123

11411124
[[deps.Timers]]
1142-
deps = ["Pkg", "TestEnv"]
1143-
git-tree-sha1 = "fe7046d2b5bc1d31cde8fd19fad7c5506e3960b4"
1125+
deps = ["Pkg"]
1126+
git-tree-sha1 = "5fd4c9197fb72dd74ca0530e5835624e242e8f61"
11441127
uuid = "21f18d07-b854-4dab-86f0-c15a3821819a"
1145-
version = "0.1.5"
1128+
version = "0.1.6"
11461129

11471130
[[deps.TruncatedStacktraces]]
11481131
deps = ["InteractiveUtils", "MacroTools", "Preferences"]

0 commit comments

Comments
 (0)