I know you're out there. I can feel you now. I know that you're afraid... you're afraid of us. You're afraid of change. I don't know the future. I didn't come here to tell you how this is going to end. I came here to tell you how it's going to begin.
|
Main /
TrunkNotesAll of the lattice files are now updated, but except for a few cases I have not taken full advantage of the new facilities. See also Hamiltonian for related information. There is now a naming scheme for the lattice sites. For any // Construct the site blocks SiteBlock fSite = CreateU1SpinSite(0.5); SiteBlock cSite = CreateU1HubbardSite(); // construct the lattice Lattice UnitCell(SymmetryList("N:U(1),Sz:U(1)"), fSite, cSite); UnitCell.fix_coordinates("f", "c"); Lattice MyLattice = repeat(UnitCell, L); MyLattice.fix_coordinates(); Here, the UnitCell coordinates are set directly. To set the coordinates in this fashion you must supply the same number of coordinate strings as there are sites in the lattice. The existing coordinate labels (if any) are replaced by the new labels. There is also a template version that takes any parameter T and just converts it to a string (so it must have an appropriate In this example we have supplied a The The count of duplicate coordinates is kept for each distinct coordinate. For example, if we had a unit cell with coordinates "f", "f", "c" (ie. "f" appears twice), then repeating that unit cell would give coordinates "f,1", "f,2", "c,1", "f,3", "f,4", "c,2", .... The function You must call some function from the A good example of a more complex lattice is The naming scheme for the two Kondo lattice programs is now consistent, 'f' for the localized spins, 'c' for the conduction band. |