“…Effect of beam pipes on the operating-mode field in an ideal FEL cavity MAFIA [15] is extensively used to calculate rf cavities in the accelerator community, but typically only those cavity modes with fairly small mode indices are involved [16]. In the SWFEUTBA configuration, however, the FEL interaction cavity is rather long and it contains up to 96 half wavelengths [12].…”