Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
OPAL
src
Commits
dd5b99f9
Commit
dd5b99f9
authored
Oct 08, 2019
by
Pedro Calvo Portela
Browse files
Cleaning repeat info and other stuffs
parent
2dca98e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
src/Algorithms/ParallelCyclotronTracker.cpp
src/Algorithms/ParallelCyclotronTracker.cpp
+2
-6
src/Algorithms/ParallelCyclotronTracker.h
src/Algorithms/ParallelCyclotronTracker.h
+1
-0
No files found.
src/Algorithms/ParallelCyclotronTracker.cpp
View file @
dd5b99f9
...
...
@@ -204,7 +204,7 @@ void ParallelCyclotronTracker::bgf_main_collision_test() {
itsBunch_m
->
ID
[
i
],
itsBunch_m
->
getT
()
*
1e9
,
turnnumber_m
,
itsBunch_m
->
bunchNum
[
i
]);
itsBunch_m
->
Bin
[
i
]
=
-
1
;
Inform
gmsgALL
(
"OPAL
"
,
INFORM_ALL_NODES
);
Inform
gmsgALL
(
"OPAL"
,
INFORM_ALL_NODES
);
gmsgALL
<<
level4
<<
"* Particle "
<<
itsBunch_m
->
ID
[
i
]
<<
" lost on boundary geometry"
<<
endl
;
}
}
...
...
@@ -1199,12 +1199,8 @@ void ParallelCyclotronTracker::execute() {
// Get BoundaryGeometry that is already initialized
bgf_m
=
OpalData
::
getInstance
()
->
getGlobalGeometry
();
if
(
bgf_m
)
{
if
(
bgf_m
)
lossDs_m
=
std
::
unique_ptr
<
LossDataSink
>
(
new
LossDataSink
(
"GEOM"
,
!
Options
::
asciidump
));
*
gmsg
<<
"* Boundary geometry initialized "
<<
endl
;
*
gmsg
<<
"* -------------------------------------"
<<
endl
;
}
// External field arrays for dumping
for
(
int
k
=
0
;
k
<
2
;
k
++
)
...
...
src/Algorithms/ParallelCyclotronTracker.h
View file @
dd5b99f9
...
...
@@ -436,6 +436,7 @@ private:
// we store a pointer explicitly to the Ring
Ring
*
opalRing_m
;
// to save geometry losses
std
::
unique_ptr
<
LossDataSink
>
lossDs_m
;
// If Ring is defined take the harmonic number from Ring; else use
...
...
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