From dfa9491214cb71b4d61780c290bb83749904a88b Mon Sep 17 00:00:00 2001 From: Orso Meneghini Date: Wed, 31 Jul 2024 15:29:09 -0700 Subject: [PATCH] minor --- src/physics/gacode_constants.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/physics/gacode_constants.jl b/src/physics/gacode_constants.jl index da325afe..b564917c 100644 --- a/src/physics/gacode_constants.jl +++ b/src/physics/gacode_constants.jl @@ -109,7 +109,7 @@ end flux_solutions::Vector{<:IMAS.flux_solution}, m1d::IMAS.core_transport__model___profiles_1d, eqt::IMAS.equilibrium__time_slice, - cp1d::core_profiles__profiles_1d) where {N<:Int} + cp1d::core_profiles__profiles_1d) Normalizes specified transport fluxes output by GA code via gyrobohm normalization and Miller volume correction """ @@ -118,7 +118,7 @@ function flux_gacode_to_fuse( flux_solutions::Vector{<:IMAS.flux_solution}, m1d::IMAS.core_transport__model___profiles_1d, eqt::IMAS.equilibrium__time_slice, - cp1d::core_profiles__profiles_1d) where {N<:Int} + cp1d::core_profiles__profiles_1d) rho_eq_idxs = [argmin(abs.(eqt.profiles_1d.rho_tor_norm .- rho)) for rho in m1d.grid_flux.rho_tor_norm] rho_cp_idxs = [argmin(abs.(cp1d.grid.rho_tor_norm .- rho)) for rho in m1d.grid_flux.rho_tor_norm]