This is a simple file where I'm trying to push the dual-lattice (superlattice) system into a variational problem.