OPAL (Object Oriented Parallel Accelerator Library)
2024.2
OPAL
changes.cpp
Go to the documentation of this file.
1
#include <map>
2
#include <string>
3
4
#include "
changes.h
"
5
6
namespace
Versions
{
7
std::map<unsigned int, std::string>
changes
;
8
9
void
fillChanges
() {
10
if
(
changes
.size() > 0)
return
;
11
12
changes
.insert({105,
13
"* The normalization of the 2-dimensional field maps has changed.\n"
14
" Instead of normalizing with the overall maximum value of longitudinal\n"
15
" component Opal now uses the maximum value on axis.\n"
16
"\n"
17
"* The parser has been modified to check the type of all variables. All real \n"
18
" variables have to be prefixed with the keyword REAL.\n"
19
});
20
21
changes
.insert({109,
22
"* The attribute BFREQ of the command BEAM is now in MHz instead of Hz\n"
23
"\n"
24
"* OPAL-T: Beamlines are now placed in 3-dimensional space. Make sure that\n"
25
" you use apertures to limit the range of the elements. Default aperture \n"
26
" has circular shape with diameter 1 meter.\n"
27
"\n"
28
"* OPAL-T: Beamlines containing a cathode have to have a SOURCE element to\n"
29
" indicate this fact\n"
30
"\n"
31
"* OPAL-T: The design energy of dipoles is now expected to be in MeV instead\n"
32
" of eV.\n"
33
"\n"
34
"* OPAL-T: The attribute 'ROTATION' of RBEND and SBEND has been replaced\n"
35
" by 'PSI'. Can be applyied to all elements to rotate them.\n"
36
"\n"
37
"* The attribute DISTRIBUTION of the command DISTRIBUTION has been renamed to\n"
38
" TYPE.\n"
39
"\n"
40
"* The meaning of OFFSETZ of the command DISTRIBUTION has changed. It now \n"
41
" indicates a shift of the particle bunch relative to the reference particle.\n"
42
" Use the ZSTART attribute of the TRACK command to start the simulation at a \n"
43
" position z > 0.\n"
44
"\n"
45
"* The string indicating the orientation (sofar always XYZ) of 3D fieldmaps has\n"
46
" been dropped.\n"
47
});
48
}
49
}
changes.h
Versions
Definition
changes.cpp:6
Versions::fillChanges
void fillChanges()
Definition
changes.cpp:9
Versions::changes
std::map< unsigned int, std::string > changes
Definition
changes.cpp:7