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
8c3c8c51
Commit
8c3c8c51
authored
8 months ago
by
Fernando Pérez Panadero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug in io. Meas last Eoft.
parent
69abc912
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
src/io.jl
src/io.jl
+1
-1
src/meas.jl
src/meas.jl
+5
-0
src/utils.jl
src/utils.jl
+1
-1
No files found.
src/io.jl
View file @
8c3c8c51
...
...
@@ -145,7 +145,7 @@ function save_data()
end
BDIO_start_record!
(
fb
,
BDIO_BIN_GENERIC
,
8
)
BDIO_start_record!
(
fb
,
BDIO_BIN_GENERIC
,
8
,
true
)
for
noi
in
1
:
params
[
"Frontflow"
][
"N_noise"
]
BDIO_write!
(
fb
,
pp_corr_t0
[
:
,
noi
])
...
...
This diff is collapsed.
Click to expand it.
src/meas.jl
View file @
8c3c8c51
...
...
@@ -105,6 +105,11 @@ function Frontflow_pt() # Will be Frontflow
flw
(
U
,
psi
,
int
,
1
,
params
[
"Frontflow"
][
"epsilon"
],
gp
,
dpar
,
lp
,
ymws
,
dws
)
end
if
noi
==
1
Eoft_plaq
(
Eofpla
,
U
,
gp
,
lp
,
ymws
)
Eoft
[
end
,
:
]
.=
sum
(
Eofpla
,
dims
=
2
)
end
pp_density
.=
Array
(
norm2
.
(
psi
))
ap_density
.=
Array
(
dot
.
(
psi
,
dmul
.
(
Gamma
{
4
},
psi
)))
pp_corr_t
[
:
,
noi
,
end
]
.=
zero
(
Float64
)
...
...
This diff is collapsed.
Click to expand it.
src/utils.jl
View file @
8c3c8c51
...
...
@@ -14,7 +14,7 @@ function read_ff(name::String)
ihdr
=
Vector
{
Int32
}(
undef
,
1
)
BDIO_read
(
file
,
ihdr
)
if
ihdr
[
1
]
==
1730280201
print
(
"Reading file "
,
name
)
print
ln
(
"Reading file "
,
name
)
else
error
(
"Wrong IHDR in file "
,
name
)
end
...
...
This diff is collapsed.
Click to expand it.
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