Skip to content

Add grid attribute to discretizer-made builders

Christoph Groth requested to merge cwg/kwant:grid into master

First commit: The rename grid_spacing -> grid is (1) to shorten things, (2) to keep the possibility to generalize this parameter, e.g. provide a lattice.

Second commit: This is especially useful for: model.grid.vec((1,0))

Merge request reports