Setup
  (layers from the top down: the bottom one, the substrate, is the first laid down)
  layers:
    cladding       half-space   SiO2, n 1.444024
    silicon 2      220 nm       Si in its shapes, the cladding elsewhere (from z = 0), n 3.475700
    silicon 1      150 nm       Si in its shapes, the cladding elsewhere (from z = 0), n 3.475700
    buried oxide   half-space   SiO2, below z = 0, n 1.444024
  shapes:
    on silicon 2: the crossing, a polygon through (-14, -0.25) µm, (-4, -0.25) µm, (-0.6, -0.6) µm, (-0.25, -4) µm, (-0.25, -14) µm, (0.25, -14) µm, (0.25, -4) µm, (0.6, -0.6) µm, (4, -0.25) µm, (14, -0.25) µm, (14, 0.25) µm, (4, 0.25) µm, (0.6, 0.6) µm, (0.25, 4) µm, (0.25, 14) µm, (-0.25, 14) µm, (-0.25, 4) µm, (-0.6, 0.6) µm, (-4, 0.25) µm, (-14, 0.25) µm
    on silicon 1: two ellipses centred at (0, 0) µm, semi-axes 3 µm and 1.1 µm, one along x and one along y
  port 1: at (-4, 0) µm, 500 nm wide, facing 180°, the input
  port 2: at (0, 4) µm, 500 nm wide, facing 90°
  port 3: at (4, 0) µm, 500 nm wide, facing 0°
  port 4: at (0, -4) µm, 500 nm wide, facing 270°
  modes: Te0 launched into port 1; measured: Te0 at port 3; Te0 at port 2; Te0 at port 4
  wavelengths: the materials at 1.55 µm; a pulse at 1.55 µm, its width 0.04 c/µm; measured at 1.55 µm
  window: x -5 to 5 µm, y -5.5 to 5.5 µm (the ports and the device, 1 µm beyond), 1 µm of cladding below and above the silicon, CPMLs of 12 cells
  grid at 6 cells a wavelength: 159 × 172 × 54 cells of 74.3 nm (1.5 million), CPMLs of 12
  solver: 3D FDTD, subpixel smoothing (diagonal), Courant number 0.99; the ports' modes by FDFD; until the outputs' fields decay to 1e-6 or 2000 µm/c
  tolerance: the through port's TE0 at 1550 nm within half the span of 0.957, 0.959, 0.957, 0.9558, 0.957, 0.9567 plus 0.0003; the excess loss (dB) within half the span of -0.1925, -0.191, -0.1915, -0.183, -0.1965, -0.1925 plus 0.001; at 15 cells, at 1540 nm within half the span of 0.9525, 0.9542 plus 0.0003; at 1560 nm within half the span of 0.9596, 0.9613 plus 0.0003; at 6 cells, plus how far the codes stray there (0.954, 0.939)
  materials:
    Si: a table of 35 wavelengths, 1.2 to 14 µm, between them natural cubic splines; valid 1.2 to 14 µm
      source: H. H. Li, J. Phys. Chem. Ref. Data 9, 561 (1980), doi:10.1063/1.555624, at 293 K
      crystalline silicon; Table 1, 293 K, checked against the paper; uncertainty ±2e-3 (Li)
      n 3.475700 at 1.55 µm
    SiO2: Sellmeier, n² = A + Σ Bλ²/(λ² − C²), A = 1, B = 0.6961663, 0.4079426, 0.8974794, C = 0.0684043, 0.1162414, 9.896161 µm; valid 0.21 to 3.71 µm
      source: I. H. Malitson, J. Opt. Soc. Am. 55, 1205 (1965), doi:10.1364/JOSA.55.001205, at 293.15 K
      fused silica, Eq. (1), checked against the paper; fit residual 10.5e-6 on average; thermal and deposited oxides differ slightly
      n 1.444024 at 1.55 µm

Liu and Poon's crossing (gdsfactory's generic PDK), 3D FDTD, TE0 into the left arm; materials at 1.55 um
6 cells a wavelength: 159 × 172 × 54 cells of 74.3 nm (1.5 million), CPMLs of 12
  wavelength  through TE0  side TE0s            reflection  excess loss
  1.550 um    0.95227      1.38e-6, 1.23e-6   1.51e-4    -0.2124 dB
  through TE0, 1550 nm, 6 cells          0.952266   paper 0.9574     ± 2.1e-2    ok
all 1 within tolerance of the paper
