Lattice element API

Element-centering trait types that let an AbstractSiteType declare whether its DOF lives on a vertex, bond, plaquette, or cell.

LatticeCore.AbstractLatticeElementType
AbstractLatticeElement

Abstract supertype identifying which geometric element of a lattice a given degree of freedom lives on. The default for every AbstractSiteType is VertexCenter; other element_type overrides let the interface describe bond / plaquette / cell-centered variables such as dimers, gauge links, and flux variables without breaking existing site-centered code.

See dev/note/04_architecture/04_site_type/README.md for the two-approach strategy (line-graph versus multi-layer) that uses this trait.

source