Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
FerFlow.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
Fernando Pérez Panadero
FerFlow.jl
Commits
af973362
Commit
af973362
authored
Jul 01, 2024
by
Fernando Pérez Panadero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix in volume sum. Should be improved for GPU
parent
6b8b4a32
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/meas.jl
src/meas.jl
+2
-2
No files found.
src/meas.jl
View file @
af973362
...
@@ -156,8 +156,8 @@ function one_pt()
...
@@ -156,8 +156,8 @@ function one_pt()
for
t
in
1
:
lp
.
iL
[
4
]
for
t
in
1
:
lp
.
iL
[
4
]
for
i
in
1
:
lp
.
iL
[
1
]
for
j
in
1
:
lp
.
iL
[
2
]
for
k
in
1
:
lp
.
iL
[
3
]
for
i
in
1
:
lp
.
iL
[
1
]
for
j
in
1
:
lp
.
iL
[
2
]
for
k
in
1
:
lp
.
iL
[
3
]
b
,
r
=
point_index
(
CartesianIndex
{
lp
.
ndim
}((
i
,
j
,
k
,
t
)),
lp
)
b
,
r
=
point_index
(
CartesianIndex
{
lp
.
ndim
}((
i
,
j
,
k
,
t
)),
lp
)
Quark_cond
[
t
,
noi
,
fl
]
+=
dot
(
dws
.
sp
[
b
,
r
],
psi
[
b
,
r
])
CUDA
.
@allowscalar
Quark_cond
[
t
,
noi
,
fl
]
+=
dot
(
dws
.
sp
[
b
,
r
],
psi
[
b
,
r
])
Quark_cond_cfl
[
t
,
noi
,
fl
]
+=
-
sum
(
norm2
.
(
dws
.
sp
)
)
CUDA
.
@allowscalar
Quark_cond_cfl
[
t
,
noi
,
fl
]
+=
-
norm2
.
(
dws
.
sp
[
b
,
r
]
)
end
end
end
end
end
end
end
end
#######
#######
...
...
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