Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
test_latticegpu.jl
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alberto Ramos
test_latticegpu.jl
Commits
f42c961f
Commit
f42c961f
authored
Nov 14, 2021
by
Alberto Ramos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improvements in main file
parent
ca8a1bf8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
13 deletions
+20
-13
main/sfwfl.jl
main/sfwfl.jl
+20
-13
No files found.
main/sfwfl.jl
View file @
f42c961f
...
...
@@ -56,43 +56,50 @@ println(gp)
wflw
=
wfl_rk3
(
Float64
,
0.01
,
1.0E-7
)
zflw
=
zfl_rk3
(
Float64
,
0.01
,
1.0E-7
)
println
(
zflw
)
println
(
" ## "
)
ymws
=
YMworkspace
(
SU3
,
Float64
,
lp
)
println
(
" # Plaquette: "
,
plaquette
(
U
,
lp
,
gp
,
ymws
))
flw_n
s
=
round
((
0.3
*
l
)
^
2
/
(
8
*
wflw
.
eps
)
/
10
)
flw_n
c
=
20
Ecl
=
Array
{
Float64
,
2
}(
undef
,
lp
.
iL
[
end
],
6
)
Epl
=
Array
{
Float64
,
2
}(
undef
,
lp
.
iL
[
end
],
6
)
Qt
=
Vector
{
Float64
}(
undef
,
lp
.
iL
[
end
])
ndtr
=
10
println
(
wflw
)
ymws
.
U1
.=
U
for
j
in
1
:
flw_ns
tf
=
0.0
for
j
in
1
:
flw_nc
+
1
Eoft_plaq
(
Epl
,
U
,
gp
,
lp
,
ymws
)
Eoft_clover
(
Ecl
,
U
,
gp
,
lp
,
ymws
)
Qtop
(
Qt
,
U
,
gp
,
lp
,
ymws
)
t
=
j
*
wflw
.
eps
@printf
(
" FLOW t=%8.4f: %20.12e %20.12e %10.4e
\n
"
,
t
,
t
^
2
*
sum
(
Epl
),
t
^
2
*
sum
(
Ecl
),
sum
(
Qt
))
flw
(
U
,
wflw
,
10
,
gp
,
lp
,
ymws
)
@printf
(
" FLOW c=%8.4f: %20.12e %20.12e %10.4e
\n
"
,
sqrt
(
8
*
tf
)
/
l
,
l
^
3
*
sum
(
Epl
),
l
^
3
*
sum
(
Ecl
),
sum
(
Qt
))
c
=
0.6
*
j
/
flw_nc
dt
=
(
cl
)
^
2
/
8
-
tf
flw_adapt
(
U
,
wflw
,
dt
,
gp
,
lp
,
ymws
)
tf
+=
dt
end
U
=
ymws
.
U1
println
(
zflw
)
ymws
.
U1
.=
U
for
j
in
1
:
flw_n
s
tf
=
0.0
for
j
in
1
:
flw_n
c
+
1
Eoft_plaq
(
Epl
,
U
,
gp
,
lp
,
ymws
)
Eoft_clover
(
Ecl
,
U
,
gp
,
lp
,
ymws
)
Qtop
(
Qt
,
U
,
gp
,
lp
,
ymws
)
t
=
j
*
zflw
.
eps
@printf
(
" FLOW t=%8.4f: %20.12e %20.12e %10.4e
\n
"
,
t
,
t
^
2
*
sum
(
Epl
),
t
^
2
*
sum
(
Ecl
),
sum
(
Qt
))
flw
(
U
,
zflw
,
10
,
gp
,
lp
,
ymws
)
@printf
(
" FLOW c=%8.4f: %20.12e %20.12e %10.4e
\n
"
,
sqrt
(
8
*
tf
)
/
l
,
l
^
3
*
sum
(
Epl
),
l
^
3
*
sum
(
Ecl
),
sum
(
Qt
))
c
=
0.6
*
j
/
flw_nc
dt
=
(
cl
)
^
2
/
8
-
tf
flw_adapt
(
U
,
zflw
,
dt
,
gp
,
lp
,
ymws
)
tf
+=
dt
end
U
=
ymws
.
U1
println
(
" # Plaquette: "
,
plaquette
(
U
,
lp
,
gp
,
ymws
))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment