From 059807fc4712b6eb3c6e8b9eec3220e758ce1fba Mon Sep 17 00:00:00 2001 From: Arnau Quera-Bofarull Date: Fri, 15 Oct 2021 15:47:54 +0100 Subject: [PATCH] Remove references to hull convergence for now --- Project.toml | 3 +-- src/radiation/wind_interpolator/wind_hull.jl | 2 +- src/saver.jl | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Project.toml b/Project.toml index f36e29a..6da0f02 100644 --- a/Project.toml +++ b/Project.toml @@ -43,7 +43,6 @@ TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f" YAML = "ddb6d928-2868-570f-bddf-ab3f9cf99eb6" [compat] -julia = "^1.6" ArgParse = "^1.1.4" CSV = "^0.8.5" ClusterManagers = "^0.4.1" @@ -74,4 +73,4 @@ Roots = "^1.2.0" Sundials = "^4.5.3" TimerOutputs = "^0.5.12" YAML = "^0.4.7" - +julia = "^1.6" diff --git a/src/radiation/wind_interpolator/wind_hull.jl b/src/radiation/wind_interpolator/wind_hull.jl index ee6e283..d59bba0 100644 --- a/src/radiation/wind_interpolator/wind_hull.jl +++ b/src/radiation/wind_interpolator/wind_hull.jl @@ -50,7 +50,7 @@ function Hull(hull_data::Dict) vs_r = hull_data["vertices_r"] vs_z = hull_data["vertices_z"] vertices = [[r, z] for (r, z) in zip(vs_r, vs_z)] - Hull(vertices, hull_data["k"], hull_data["converged"]) + Hull(vertices, hull_data["k"]) #, hull_data["converged"]) #TODO: same as above end diff --git a/src/saver.jl b/src/saver.jl index 64c8d92..1996eee 100644 --- a/src/saver.jl +++ b/src/saver.jl @@ -170,7 +170,7 @@ function save_wind_hull!(hull::ConcaveHull.Hull, group) g["k"] = hull.k g["vertices_r"] = [v[1] for v in hull.vertices] g["vertices_z"] = [v[2] for v in hull.vertices] - g["converged"] = hull.converged + #g["converged"] = hull.converged end save_wind_hull!(hull::Nothing, group) = nothing