mirror of
https://igit.ific.uv.es/alramos/latticegpu.jl.git
synced 2025-05-15 03:33:42 +02:00
Working HMC for SU(2) and SU(3)
This commit is contained in:
parent
f6be70070e
commit
c378648508
6 changed files with 119 additions and 40 deletions
10
src/YM/YM.jl
10
src/YM/YM.jl
|
@ -43,6 +43,16 @@ struct YMworkspace
|
|||
rs = zeros(Float64, lp.iL...)
|
||||
return new(f1, f2, mm, u1, replace_storage(CuArray, cs))
|
||||
end
|
||||
|
||||
if (T == SU3)
|
||||
f1 = field(SU3alg, lp)
|
||||
f2 = field(SU3alg, lp)
|
||||
mm = field(SU3alg, lp)
|
||||
u1 = field(SU3, lp)
|
||||
cs = zeros(ComplexF64,lp.iL...)
|
||||
rs = zeros(Float64, lp.iL...)
|
||||
return new(f1, f2, mm, u1, replace_storage(CuArray, cs))
|
||||
end
|
||||
return nothing
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue