From 0677124ff5203dc3769163a885c76a453e8d35be Mon Sep 17 00:00:00 2001 From: Josh Ott Date: Fri, 22 Sep 2023 23:16:11 -0400 Subject: [PATCH] Update modelB_observer.jl update to working file --- modelB_observer.jl | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/modelB_observer.jl b/modelB_observer.jl index 9bdf062..7a6ce33 100644 --- a/modelB_observer.jl +++ b/modelB_observer.jl @@ -130,13 +130,12 @@ config = launch_configuration(kernel_i.fun) threads = min(N, config.threads) blocks = cld(N, threads) -thermalize(m², ϕ, threads, blocks, L^4÷4) - const skip=10 -open("/share/tmschaef/jkott/modelB/dynamics_28_L_$L"*"_id_"*ARGS[1]*".dat","w") do io - i = 0 - while true +for series in 33:48 +thermalize(m², ϕ, threads, blocks, L^4) +open("/share/tmschaef/jkott/modelB/dynamics_L_$L"*"_id_"*ARGS[1]*"_series_$(series).dat","w") do io + for i in 0:L^4 ϕk = Array(fft(ϕ)) Printf.@printf(io, "%i", skip*i) @@ -148,6 +147,6 @@ open("/share/tmschaef/jkott/modelB/dynamics_28_L_$L"*"_id_"*ARGS[1]*".dat","w") Printf.@printf(io, "\n") flush(io) thermalize(m², ϕ, threads, blocks, skip) - i += 1 end end +end