A honeycomb crystal is a hexagonal lattice decorated with two basis atoms, sitting at the (1/3,1/3) and (2/3,2/3) fractional positions. This is the photonic analogue of graphene and famously hosts a Dirac point at K. Multi-atom bases are not expressible through solve(); they require a [[geometry.atoms]] block per inclusion in a TOML config.
1from blaze import BulkDriver
2
3# A honeycomb is a hexagonal lattice with TWO inclusions per cell.
4# Multi-atom bases go beyond solve(); describe them in TOML.
5driver = BulkDriver("honeycomb.toml")
6
7for result in driver.run_streaming():
8 print(result["num_bands"], "bands on", result["num_k_points"], "k-points")