MCPcopy Create free account
hub / github.com/NanoComp/meep / first_tm_gap

Function first_tm_gap

python/examples/mpb_tutorial.py:76–79  ·  view source on GitHub ↗
(r)

Source from the content-addressed store, hash-verified

74
75
76def first_tm_gap(r):
77 ms.geometry = [mp.Cylinder(r, material=mp.Medium(epsilon=12))]
78 ms.run_tm()
79 return -1 * ms.retrieve_gap(1)
80
81
82ms.num_bands = 2

Callers

nothing calls this directly

Calls 1

retrieve_gapMethod · 0.80

Tested by

no test coverage detected