proposed fix for nc/idl map

This commit is contained in:
Justus Kuhlmann 2026-05-11 17:43:48 +02:00
commit 8251ccf3e2
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6

View file

@ -250,7 +250,7 @@ def _extract_flowed_energy_density(path, prefix, dtr_read, xmin, spatial_extent,
dtr_read : int dtr_read : int
Determines how many trajectories should be skipped Determines how many trajectories should be skipped
when reading the ms.dat files. when reading the ms.dat files.
Corresponds to dtr_cnfg / dtr_ms in the openQCD input file. Corresponds to dtr_cnfg / dtr_ms (dncnfg / dnms) in the openQCD input file.
xmin : int xmin : int
First timeslice where the boundary First timeslice where the boundary
effects have sufficiently decayed. effects have sufficiently decayed.
@ -358,8 +358,8 @@ def _extract_flowed_energy_density(path, prefix, dtr_read, xmin, spatial_extent,
if (len(t) < 4): if (len(t) < 4):
break break
nc = struct.unpack('i', t)[0] nc = struct.unpack('i', t)[0]
configlist[-1].append(nc) if nc % dtr_read == 0:
configlist[-1].append(nc)
t = fp.read(8 * tmax * (nn + 1)) t = fp.read(8 * tmax * (nn + 1))
if kwargs.get('plaquette'): if kwargs.get('plaquette'):
if nc % dtr_read == 0: if nc % dtr_read == 0: