1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
//! The TE-like mode of a 500 × 220 nm silicon strip in oxide at 1550 nm, with the full-vector
//! mode solver, at three grids.
//!
//! L. Chrostowski, M. Hochberg, *Silicon Photonics Design*, Cambridge University Press (2015),
//! [doi:10.1017/CBO9781316084168](https://doi.org/10.1017/CBO9781316084168), Fig. 3.14:
//! silicon 3.473, oxide 1.444, effective index 2.443 (Lumerical MODE on a 20 nm conformal mesh,
//! accurate to about 1e-3 by the book's Fig. 3.9).
//!
//! The strip's convex corners slow photonoxide's convergence to about first order (2.4435 at a
//! 2.5 nm grid; `hadley_corners` measures it on exact problems), so the check is at 5 nm, within
//! 3e-3; ROADMAP.md has the fix (Hadley 2002).
//!
//! ```sh
//! cargo run --release --example strip_waveguide
//! ```
use ExitCode;
use c64;
use ;
use Wavelength;
/// The strip, centred, in a 2.1 × 1.5 µm window on a uniform grid of spacing `h` (µm): the
/// core's edges (±0.25, ±0.11 µm) fall on nodes for the grids used here.