MAD-X
MAD-X copied to clipboard
MAD-X repository
# Issue After compiling Mad-X in Debug mode, it crashes when running tracking because of an access to the parameter `z` in `BB_Write` in `trrun.f90`. # Possible Cause `z` is...
In twiss the dipole map is calculated by tmsect using h and dh as parameters defined by: ```fortran if (sk0 .ne. 0) then- f_errors(0) = f_errors(0) + (sk0*el - angle)...
Differently from twiss, track does not support the delta_s parameter: https://github.com/MethodicalAcceleratorDesign/MAD-X/blob/8695bd422dc403a01aa185e9fea16603bbd5b3e1/src/trrun.f90#L3348 where deltae is pt from the start command https://github.com/MethodicalAcceleratorDesign/MAD-X/blob/8695bd422dc403a01aa185e9fea16603bbd5b3e1/src/mad_track.c#L295 while deltap is taken from the delta parameter in track:...
There appears to be a bug in the TWISS module when using CHROM=true and interpolation that is affecting the TWISS TFS table. When CHROM=false, the expected number of rows are...
The “line” above a plot that shows the arrangement of the magnets is not drawn correctly for plots resulting from PTC_TWISS or TWISS with CENTRE=false. With PTC_TWISS, I believe the...
There appears to be a bug in the MAD-X PLOT function that drops the data label and vertical lead line (that should be in the plot area) if the HAXIS...
Trying to get the equilibrium emittance values for a lattice with not perfectly closed orbit on the transverse plane, but stable on the longitudinal plane. EMIT command only gives the...
``` In [25]: mad = Madx(stdout=False) ...: mad.call('hllhc15_noerrors_nobb/sequence.madx') ...: mad.use('lhcb1') ...: print( mad.twiss().summary.dqmin ) ...: mad.sequence.lhcb1.expanded_elements[7].ksl = [0, 1e-4] ...: print( mad.twiss().summary.dqmin ) ...: print( mad.twiss().summary.dqmin ) ...: 1.357027643e-10 0.0001892528266...
The example script given in #866 still has the same problem, despite a fix. Comment on the commit message of the fix: the aperture is not on 0 but off...
The way that MAD-X currently treats expressions with "+-" in them is inconsistent, which I think can be a bit confusing. It can also easily lead to bugs in scripts....