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