SixTrack / sixtracklib

Library for single charged particle simulations in accelerators
GNU Lesser General Public License v2.1
12 stars 16 forks source link

Change handling of global aperture check #74

Closed martinschwinzerl closed 4 years ago

martinschwinzerl commented 5 years ago
martinschwinzerl commented 4 years ago

Merging #107 should provide this functionality. It is now possible to only use NS(LimitRect) and NS(LimitEllipse) elements to perform the aperture check and compile-out the "global" aperture check performed after every NS(Drift) and NS(DriftExact). To this end, set SIXTRACKL_ENABLE_APERTURE_CHECKto OFF in Settings.cmake.