mirror of
https://igit.ific.uv.es/alramos/latticegpu.jl.git
synced 2025-05-15 11:43:42 +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
|
@ -26,7 +26,7 @@ ymws = YMworkspace(GRP, PREC, lp)
|
|||
|
||||
# Main program
|
||||
println("Allocating gauge field")
|
||||
U = field(GRP{PREC}, lp)
|
||||
U = vector_field(GRP{PREC}, lp)
|
||||
fill!(U, one(GRP{PREC}))
|
||||
|
||||
println("Time to take the configuration to memory: ")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue