diff --git a/src/io.jl b/src/io.jl index 9cd10c8f0060ba4732a7a3f0206232d5aec449d7..8a38d3e7b8107e9ad468b4bd1fada79690350700 100644 --- a/src/io.jl +++ b/src/io.jl @@ -145,7 +145,7 @@ function save_data() end - BDIO_start_record!(fb, BDIO_BIN_GENERIC, 8) + BDIO_start_record!(fb, BDIO_BIN_GENERIC, 8, true) for noi in 1:params["Frontflow"]["N_noise"] BDIO_write!(fb,pp_corr_t0[:,noi]) diff --git a/src/meas.jl b/src/meas.jl index 8f1e295cc191b60ec605d80fb6f0c01a7ddb25ac..bfdf37498c2b523cae7ecbd142b72c975814ad68 100644 --- a/src/meas.jl +++ b/src/meas.jl @@ -105,6 +105,11 @@ function Frontflow_pt() # Will be Frontflow flw(U, psi, int, 1, params["Frontflow"]["epsilon"], gp, dpar, lp, ymws, dws) end + if noi ==1 + Eoft_plaq(Eofpla,U, gp, lp, ymws) + Eoft[end,:] .= sum(Eofpla,dims = 2) + end + pp_density .= Array(norm2.(psi)) ap_density .= Array(dot.(psi,dmul.(Gamma{4},psi))) pp_corr_t[:,noi,end] .= zero(Float64) diff --git a/src/utils.jl b/src/utils.jl index e36cf8fbd8886e823cb4f2c2ac7915f9f133c8e0..7fce527356f9051107ca643417d59bb5e037049f 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -14,7 +14,7 @@ function read_ff(name::String) ihdr = Vector{Int32}(undef,1) BDIO_read(file, ihdr) if ihdr[1] == 1730280201 - print("Reading file ",name) + println("Reading file ",name) else error("Wrong IHDR in file ", name) end