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