We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6def635 commit 725121fCopy full SHA for 725121f
src/settings.jl
@@ -1,5 +1,4 @@
1
filename = "vsm_settings.yaml"
2
-data = YAML.load_file(joinpath(dirname(dirname(pathof(VortexStepMethod))), "data", filename))
3
4
@with_kw mutable struct WingSettings
5
name::String = "main_wing"
@@ -23,7 +22,9 @@ end
23
22
const VSM_SETTINGS = VSMSettings()
24
25
function vs()
26
- VSM_SETTINGS
+ res = VSM_SETTINGS
+ res.solver_settings.max_iterations = data["solver_settings"]["max_iterations"]
27
+ res
28
end
29
30
function Base.show(io::IO, vs::VSMSettings)
0 commit comments