mirror of
https://igit.ific.uv.es/alramos/latticegpu.jl.git
synced 2025-07-04 15:59:27 +02:00
Generic interface to create fields
This commit is contained in:
parent
3f71a5222f
commit
0fe33c5b38
6 changed files with 30 additions and 24 deletions
|
@ -25,7 +25,7 @@ Random.seed!(1234)
|
|||
println("Precision: ", PREC)
|
||||
|
||||
println("Allocating gauge field")
|
||||
U = field(GRP{PREC}, lp)
|
||||
U = vector_field(GRP{PREC}, lp)
|
||||
fill!(U, one(GRP{PREC}))
|
||||
|
||||
println("Take to take the configuration to memory: ")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue