mirror of
https://igit.ific.uv.es/alramos/latticegpu.jl.git
synced 2025-06-29 05:19:27 +02:00
Typo in read_cnfg block size
This commit is contained in:
parent
f260c35938
commit
7d3341bdab
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
Reads configuration from file `fname` using the native (BDIO) format.
|
Reads configuration from file `fname` using the native (BDIO) format.
|
||||||
"""
|
"""
|
||||||
function read_cnfg(fname::String, blk::Tuple{4,Int64}=(4,4,4,4))
|
function read_cnfg(fname::String; block::NTuple{N,Int64}=(4,4,4,4)) where {N}
|
||||||
|
|
||||||
UID_HDR = 14
|
UID_HDR = 14
|
||||||
fb = BDIO_open(fname, "r")
|
fb = BDIO_open(fname, "r")
|
||||||
|
@ -48,7 +48,7 @@ function read_cnfg(fname::String, blk::Tuple{4,Int64}=(4,4,4,4))
|
||||||
dfoo = Vector{Float64}(undef, 4)
|
dfoo = Vector{Float64}(undef, 4)
|
||||||
BDIO_read(fb, dfoo)
|
BDIO_read(fb, dfoo)
|
||||||
|
|
||||||
lp = SpaceParm{ndim}(iL, blk, ibc, ntw)
|
lp = SpaceParm{ndim}(iL, block, ibc, ntw)
|
||||||
gp = GaugeParm{Float64}(SU3{Float64}, dfoo[1], dfoo[2])
|
gp = GaugeParm{Float64}(SU3{Float64}, dfoo[1], dfoo[2])
|
||||||
|
|
||||||
dtr = (2,3,4,1)
|
dtr = (2,3,4,1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue