diff --git a/samples/time_dep_edge_profiles_last_step_only.json.dvc b/samples/time_dep_edge_profiles_last_step_only.json.dvc index 67f20fd..299351c 100644 --- a/samples/time_dep_edge_profiles_last_step_only.json.dvc +++ b/samples/time_dep_edge_profiles_last_step_only.json.dvc @@ -1,12 +1,12 @@ -md5: 3ea764e4095ca2b8a5359cd76259e26a +md5: cdd59460686d5d4ee901e1f9339f480d frozen: true deps: - path: ITER_Lore_2296_00000/IMAS/time_dep_edge_profiles_last_step_only.json repo: url: git@github.com:ProjectTorreyPines/SOLPSTestSamples.git - rev_lock: 88f14955a52cd4d4fd7e86e2274436a34f4203ec + rev_lock: cf392d9f0292d4f4da4c027f5cc9b2a640fa7fb8 outs: -- md5: db47dee590648770a5ce49c0e0706acf - size: 4087084 +- md5: 3c54b821ce167c41f270999e77a6602c + size: 11793595 hash: md5 path: time_dep_edge_profiles_last_step_only.json diff --git a/samples/time_dep_edge_profiles_with_interferometer.json.dvc b/samples/time_dep_edge_profiles_with_interferometer.json.dvc index c45c30b..72d3c7a 100644 --- a/samples/time_dep_edge_profiles_with_interferometer.json.dvc +++ b/samples/time_dep_edge_profiles_with_interferometer.json.dvc @@ -1,12 +1,12 @@ -md5: fb9792d06bb5d13f3a8803654b78624c +md5: 6aa2ce8a23a582ee8cc1aa3d030070f2 frozen: true deps: - path: ITER_Lore_2296_00000/IMAS/time_dep_edge_profiles_with_interferometer.json repo: url: git@github.com:ProjectTorreyPines/SOLPSTestSamples.git - rev_lock: 80688afd131b17455c3320a4485bbf2b7a55c80c + rev_lock: 790f37427d8e6809449684e4f1d518eab626e780 outs: -- md5: 610272ceabe4a62dd776e0f3c08d2036 - size: 40662828 +- md5: bba50e6afd5cfba436a0b0927a9d5bc9 + size: 41544711 hash: md5 path: time_dep_edge_profiles_with_interferometer.json diff --git a/test/runtests.jl b/test/runtests.jl index 9ee24ab..ce8c153 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -66,7 +66,7 @@ if args["interp"] @test abs.((grid_val .- searched_val) ./ grid_val) < allowed_rtol # test interp(prop_arr, space, subset) - subset = get_grid_subset(grid_ggd, 5) + subset = get_grid_subset(grid_ggd, -5) print("interp(prop_arr, space, subset) time: ") @time get_n_e = interp(ids.edge_profiles.ggd[1].electrons.density, space, subset) @@ -75,7 +75,7 @@ if args["interp"] # test interp(prop_arr, grid_ggd, grid_subset_index) print("interp(prop_arr, grid_ggd, grid_subset_index) time: ") - @time get_n_e = interp(ids.edge_profiles.ggd[1].electrons.density, grid_ggd, 5) + @time get_n_e = interp(ids.edge_profiles.ggd[1].electrons.density, grid_ggd, -5) searched_val = get_n_e(cell_center...) @test abs.((grid_val .- searched_val) ./ grid_val) < allowed_rtol @@ -128,7 +128,7 @@ if args["projection"] space = ids.edge_profiles.grid_ggd[1].space[1] prop = ids.edge_profiles.ggd[1].electrons.density # All cells - from_subset = get_grid_subset(ids.edge_profiles.grid_ggd[1], 5) + from_subset = get_grid_subset(ids.edge_profiles.grid_ggd[1], -5) # separatix to_subset = get_grid_subset(ids.edge_profiles.grid_ggd[1], 16) print("project_prop_on_subset!(prop, from_subset, to_subset, space) time: ")