I've noticed that currently, there are only a few points left where MC and DQMC explicitly interface with the lattice. Other than in build_checkerboard(lattice) only a few calls to length(lattice) (or m.l.sites) remain. We should remove these in favor of nsites(model).
Maybe we should also rethink build_checkerboard(), since it is the only thing giving requirements to the lattice when writing a new model.
I've noticed that currently, there are only a few points left where
MC
andDQMC
explicitly interface with the lattice. Other than inbuild_checkerboard(lattice)
only a few calls tolength(lattice)
(orm.l.sites
) remain. We should remove these in favor ofnsites(model)
.Maybe we should also rethink
build_checkerboard()
, since it is the only thing giving requirements to the lattice when writing a new model.