Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ext-piot_p
src
Commits
7fb80839
Commit
7fb80839
authored
Nov 07, 2022
by
ext-rogers_c
Browse files
Fix for parallel execution of FFAs
parent
aa7ef52d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/Classic/AbsBeamline/Ring.cpp
src/Classic/AbsBeamline/Ring.cpp
+1
-1
No files found.
src/Classic/AbsBeamline/Ring.cpp
View file @
7fb80839
...
...
@@ -109,7 +109,6 @@ bool Ring::apply(const size_t &id, const double &t, Vector_t &E,
refPartBunch_m
->
R
[
id
]
*
Vector_t
(
1000.0
),
refPartBunch_m
->
P
[
id
],
t
,
refPartBunch_m
->
Q
[
id
],
refPartBunch_m
->
M
[
id
]));
lossDS_m
->
save
();
refPartBunch_m
->
Bin
[
id
]
=
-
1
;
}
...
...
@@ -165,6 +164,7 @@ void Ring::initialise(PartBunchBase<double, 3> * bunch, double &/*startField*/,
}
void
Ring
::
finalise
()
{
lossDS_m
->
save
();
online_m
=
false
;
setLossDataSink
(
nullptr
);
}
...
...
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