Merlin++
5.03
C++ Accelerator Physics Library
|
Merlin++ is an accelerator simulation program that tracks beams through components of a ring or beamline. Its functionality is similar to MAD but it has many extra features.
Merlin++ is written in C++, and unlike MAD and most other packages, it is actually a library of C++ routines. The user writes their own program and compiles it against the MERLIN class definitions and function libraries.
A detailed overview of Merlin++ is in preparation, a preprint can be found at:
Merlin++, a flexible and feature-rich accelerator physics and particle tracking library
The current method is to use cmake to build makefiles for Merlin
Needs to be updated.
The optimal way to use Merlin on OSX is to get cmake to generate build files for Xcode. This of course requires that xcode is installed. By default cmake will generate unix makefiles. To generate Xcode files the appropriate generator must be specified when using cmake as:
cmake -G Xcode
One can then run:
xcodebuild
which will compile merlin. Other options exist such as "xcodebuild clean", which will clear out built files.