Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
LGPU FPP
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
LGPU FPP
Commits
4feb9499
Commit
4feb9499
authored
Oct 27, 2023
by
Fernando Pérez Panadero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor: IO change and sfcf change
parent
c4730b25
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
src/Dirac/DiracIO.jl
src/Dirac/DiracIO.jl
+2
-2
src/LatticeGPU.jl
src/LatticeGPU.jl
+1
-1
src/Solvers/Solvers.jl
src/Solvers/Solvers.jl
+1
-1
No files found.
src/Dirac/DiracIO.jl
View file @
4feb9499
...
...
@@ -13,7 +13,7 @@ function read_prop(fname::String)
end
ihdr
=
Vector
{
Int32
}(
undef
,
2
)
BDIO_read
(
fb
,
ihdr
)
if
(
ihdr
[
1
]
!=
convert
(
Int32
,
1
653996111
))
&&
(
ihdr
[
2
]
!=
convert
(
Int32
,
2
))
if
(
ihdr
[
1
]
!=
convert
(
Int32
,
1
753996112
))
&&
(
ihdr
[
2
]
!=
convert
(
Int32
,
5
))
error
(
"Wrong file format [header]"
)
end
...
...
@@ -81,7 +81,7 @@ Saves propagator `psi` in the file `fname` using the native (BDIO) format.
"""
function
save_prop
(
fname
::
String
,
psi
,
lp
::
SpaceParm
{
4
,
M
,
B
,
D
},
dpar
::
DiracParam
;
run
::
Union
{
Nothing
,
String
}
=
nothing
)
where
{
M
,
B
,
D
}
ihdr
=
[
convert
(
Int32
,
1
653996111
),
convert
(
Int32
,
2
)]
ihdr
=
[
convert
(
Int32
,
1
753996112
),
convert
(
Int32
,
5
)]
UID_HDR
=
14
if
isfile
(
fname
)
...
...
src/LatticeGPU.jl
View file @
4feb9499
...
...
@@ -64,6 +64,6 @@ include("Solvers/Solvers.jl")
using
.
Solvers
export
CG!
export
propagator!
,
bndpropagator!
,
Tbndpropagator!
,
bndtobnd
export
fP
,
fA
,
kV
,
kT
export
fP
,
fA
end
# module
src/Solvers/Solvers.jl
View file @
4feb9499
...
...
@@ -26,7 +26,7 @@ include("Propagators.jl")
export
propagator!
,
bndpropagator!
,
Tbndpropagator!
,
bndtobnd
include
(
"sfcf.jl"
)
export
fP
,
fA
,
kV
,
kT
export
fP
,
fA
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