MAD-X icon indicating copy to clipboard operation
MAD-X copied to clipboard

MAD-X repository

Results 75 MAD-X issues
Sort by recently updated
recently updated
newest added

When activating the crab cavities, the calculation of the sigma matrix (SIG11 - SIG66) seems to be wrong, e.g. beta_x * emittance_x != sig_11 , for small (i.e. LHC-like ex

This example shows: ``` mb: sbend,l=1,angle=pi/2; mq: quadrupole,l=1,k1=0.0; ss: sequence, l=10; mq.1:mq, at=1,dx=0,dy=0.0,dpsi=0.0,dphi=0.3,dtheta=0.0; mb, at=2; mq.2:mq, at=3,dx=0.0,dy=0.0,dpsi=0.0,dphi=0.3,dtheta=0.0; endsequence; beam; use,sequence=ss; survey,file=survey.tfs,perm_align_survey=true; ``` ``` name l angle s x y z...

In twiss for the SBEND I found around line 3919 the following equation in the radiation (hx**2 + hy**2) * (one + h*x) The factor (one + h*x) = h*(rho+x)...

The match command only prints out target and final value and penalty, but often it would also be great to see the initial value of the targeted parameters (e.g. q1...

SAVE throws `+++ memory access outside program range, fatal +++` after ` beam, radiate=true, sequence=ring; emit; ` it works correctly if `radiate=false` I am using ++++++++++++++++++++++++++++++++++++++++++++ + MAD-X 5.09.01 (64...

Tapering does not restore tunes in PTC_TWISS and in TWISS. I understand from manual (chapter 38) that TWISS calculates optic functions in 4d only, therefore it is expected that with...

Fix an off bound error that show using openmp. @piotrskowronski could you verify?

Hi, As discussed saturday night in the CCC, I'm quite convinced there is an issue with the `RADIATE` flag of the beam when not using electrons / leptons. An easy...

First, the alpha functions should not be scaled by `onedp` here: https://github.com/MethodicalAcceleratorDesign/MAD-X/blob/88211ac4a0022d29b24a64374592fb72cadc72cf/src/madx_ptc_twiss.f90#L2179 Second, the algebra is wrong here: https://github.com/MethodicalAcceleratorDesign/MAD-X/blob/88211ac4a0022d29b24a64374592fb72cadc72cf/src/madx_ptc_twiss.f90#L2215 ``` cosvp = (ax*ay-bx*cy)/(ay*ay+cy*cy) ! ok sinvp = (ax*cy+ay*bx)/(ay*ay+cy*cy) ! ok...

bug

These RDTs are computed there: https://github.com/MethodicalAcceleratorDesign/MAD-X/blob/88211ac4a0022d29b24a64374592fb72cadc72cf/src/twiss.f90#L2524 And it would be useful to have them in the twiss table for coupling calculation... Alternatively, it would be more MAD-X oriented to save...

enhancement