Module grafen::substrate [] [src]

Construct substrates of given types.

Structs

SubstrateConf

Configuration for constructing a substrate.

Enums

LatticeType

Lattice types.

Functions

create_substrate

Create a substrate of input configuration. The returned system's size will be adjusted to a multiple of the substrate spacing along both directions. Thus the system can be periodically replicated along x and y.