Sample problem for tuning elliptical cavity (end cell)
Design beta = 0.61
Resonant frequency = 805 MHz, Bore radius = 4.3 cm
Left side from 61B cavity
Right side tuned by adjusting dome size

&REG KPROB=1                     ; SUPERFISH problem
MAT=1                            ; Material air or empty space
FREQ=805                         ; Mode frequency
FREQD=805                        ; Design frequency, for transit-time factors
BETAD=0.610075387553612          ; Design beta
IBETA=2                          ; Make T vs beta table, use electrical center
BETA1=0.55                       ; Starting velocity for table
BETA2=0.7                        ; Ending velocity for table
DBETA=0.1D-001                   ; Velocity increment for table
NBSUP=1,NBSLO=0,NBSRT=0,NBSLF=1  ; Boundary conditions
LINES=1                          ; Fix internal points on line regions
ICYLIN=1                         ; X=>Z,Y=>R, cylindrical coordinates
NORM=1                           ; Normalize to EZEROT
EZEROT=812954.5635321            ; Accelerating field times T
SCCAV=9                          ; 9-cell superconducting cavity
RMASS=-2                         ; Rest mass value or indicator
EPSO=1.0E-6                      ; Mesh optimization convergence parameter
IRTYPE=1                         ; Rs method: Superconductor formula
TEMPK=2                          ; Superconductor temperature, degrees K
TC=9.2                           ; Critical temperature, degrees K
RESIDR=0.2D-007                  ; Residual resistance
XDRI=34.           ; Drive point X coordinate
YDRI=14.5            ; Drive point Y coordinate
DSLOPE=-1                        ; Allow convergence in 1 iteration
DX=0.1                           ; Mesh spacing in X direction
DY=0.1
XMIN=-24.68
; X line-region physical locations:
XREG=-24.68,-5.68,5.68,17.04,28.4,39.76,51.12,62.48,
XMAX=78.48                       ; Largest X coordinate in problem
;X line-region logical locations:
KREG=1,191,305,419,533,647,761,875,
KMAX=1035
YMAX=16.697634300792 &              ; Largest Y coordinate in problem


; Start of boundary points
&PO X=0,Y=0 &
&PO X=-24.68,Y=0 &
&PO X=-24.68,Y=4.3 &
&PO X=-17.68,Y=4.3 &
&PO X=-17.68,Y=6.5 &
&PO X=-5.68,Y=6.5 &

&PO NT=2,X0=-5.68,Y0=8.44831529555698,
    A=1.29887686370472,AOVRB=0.6666666666667,
    X=1.25569794125689,Y=-0.49818020999319 &
&PO X=-3.38231547935359,Y=13.859534629541223 &
&PO NT=2,X0=0,Y0=13.2631411532633,
    A=3.43449314752873,AOVRB=1,
    X=0,Y=3.43449314752873 &
&PO NT=2,X0=0,Y0=13.2414631721454,
    A=3.45617112864658,AOVRB=1,
    X=3.43040935315201,Y=0.421201306144 &
&PO X=4.35523710310663,Y=6.130546896454694 &
&PO NT=2,X0=5.68,Y0=6.60063554087564,
    A=1.35331502404461,AOVRB=0.5882352941177,
    X=0,Y=-2.30063554087564 &

&PO NT=2,X0=5.68,Y0=6.60063554087564,
    A=1.35331502404461,AOVRB=0.5882352941177,
    X=1.32476289689337,Y=-0.470088644420945 &
&PO X=7.88533993622555,Y=13.3022713612962 &
&PO NT=2,X0=11.36,Y0=12.8756367510788,
    A=3.50075415438223,AOVRB=1,
    X=0,Y=3.50075415438223 &
&PO NT=2,X0=11.36,Y0=12.8756367510788,
    A=3.50075415438223,AOVRB=1,
    X=3.47466006377445,Y=0.426634610217405 &
&PO X=15.7152371031066,Y=6.13054689645469 &
&PO NT=2,X0=17.04,Y0=6.60063554087564,
    A=1.35331502404461,AOVRB=0.5882352941177,
    X=0,Y=-2.30063554087564 &

&PO NT=2,X0=17.04,Y0=6.60063554087564,
    A=1.35331502404461,AOVRB=0.5882352941177,
    X=1.32476289689337,Y=-0.470088644420945 &
&PO X=19.2453399362255,Y=13.3022713612962 &
&PO NT=2,X0=22.72,Y0=12.8756367510788,
    A=3.50075415438223,AOVRB=1,
    X=0,Y=3.50075415438223 &
&PO NT=2,X0=22.72,Y0=12.8756367510788,
    A=3.50075415438223,AOVRB=1,
    X=3.47466006377445,Y=0.426634610217405 &
&PO X=27.0752371031066,Y=6.13054689645469 &
&PO NT=2,X0=28.4,Y0=6.60063554087564,
    A=1.35331502404461,AOVRB=0.5882352941177,
    X=0,Y=-2.30063554087564 &

&PO NT=2,X0=28.4,Y0=6.60063554087564,
    A=1.35331502404461,AOVRB=0.5882352941177,
    X=1.32476289689337,Y=-0.470088644420945 &
&PO X=30.6053399362255,Y=13.3022713612962 &
&PO NT=2,X0=34.08,Y0=12.8756367510788,
    A=3.50075415438223,AOVRB=1,
    X=0,Y=3.50075415438223 &
&PO NT=2,X0=34.08,Y0=12.8756367510788,
    A=3.50075415438223,AOVRB=1,
    X=3.47466006377445,Y=0.426634610217405 &
&PO X=38.4352371031066,Y=6.13054689645469 &
&PO NT=2,X0=39.76,Y0=6.60063554087564,
    A=1.35331502404461,AOVRB=0.5882352941177,
    X=0,Y=-2.30063554087564 &

&PO NT=2,X0=39.76,Y0=6.60063554087564,
    A=1.35331502404461,AOVRB=0.5882352941177,
    X=1.32476289689337,Y=-0.470088644420945 &
&PO X=41.9653399362256,Y=13.3022713612962 &
&PO NT=2,X0=45.44,Y0=12.8756367510788,
    A=3.50075415438223,AOVRB=1,
    X=0,Y=3.50075415438223 &
&PO NT=2,X0=45.44,Y0=12.8756367510788,
    A=3.50075415438223,AOVRB=1,
    X=3.47466006377445,Y=0.426634610217405 &
&PO X=49.7952371031066,Y=6.13054689645469 &
&PO NT=2,X0=51.12,Y0=6.60063554087564,
    A=1.35331502404461,AOVRB=0.5882352941177,
    X=0,Y=-2.30063554087564 &

&PO NT=2,X0=51.12,Y0=6.60063554092135,
    A=1.3533150240715,AOVRB=0.5882352941177,
    X=1.32476289691969,Y=-0.470088644430285 &
&PO X=53.32533993622555,Y=13.3022713611182 &
&PO NT=2,X0=56.8,Y0=12.8756367509008,
    A=3.50075415438223,AOVRB=1,
    X=0,Y=3.50075415438223 &
&PO NT=2,X0=56.8,Y0=13.0134952202846,
    A=3.36289568499839,AOVRB=1,
    X=3.32713555607926,Y=0.489117960878506 &
&PO X=61.26466032221161,Y=5.76480881077776 &
&PO NT=2,X0=62.48,Y0=6.1668062718517,
    A=1.24453751456786,AOVRB=0.6666666666667,
    X=0,Y=-1.8668062718517 &
&PO X=78.48,Y=4.3 &
&PO X=78.48,Y=0 &
&PO X=0,Y=0 &