SpinParser
1.0
|
Structure to describe the portion of the lattice that is relevant in terms of the form sum_j v(i1,j)*v(j,i2). More...
#include <Lattice.hpp>
Public Member Functions | |
LatticeOverlap (const int size) | |
Construct a new LatticeOverlap object for a given number of sites. More... | |
LatticeOverlap (const LatticeOverlap &rhs) | |
Construct a new LatticeOverlap object from an existing one. More... | |
Public Attributes | |
int * | rid1 |
int * | rid2 |
SpinComponent * | transformedX1 |
SpinComponent * | transformedY1 |
SpinComponent * | transformedZ1 |
SpinComponent * | transformedX2 |
SpinComponent * | transformedY2 |
SpinComponent * | transformedZ2 |
int | size |
Protected Member Functions | |
~LatticeOverlap () | |
Destroy the LatticeOverlap object. | |
LatticeOverlap & | operator= (const LatticeOverlap &rhs) |
Assignment operator. More... | |
Friends | |
struct | Lattice |
std::pair< Lattice *, SpinModel * > | LatticeModelFactory::newLatticeModel (const LatticeModelFactory::LatticeUnitCell &uc, const LatticeModelFactory::SpinModelUnitCell &spinModelDefinition, const int latticeRange, const std::string &ldfPath) |
Structure to describe the portion of the lattice that is relevant in terms of the form sum_j v(i1,j)*v(j,i2).
Structure to describe the portion of the lattice that is relevant in terms of the form sum_j v(i1,j)*v(j,i2), where v(...) is a two-particle vertex function with its two lattice site arguments. The overlap covers all lattice sites which are within the truncatino range of both vertices. The LatticeOverlap structure contains a list of representative ids to which the first vertex v(i1,j) is mapped under lattice symmetry reduction for every j within the overlap region. Similarly, it contains a list of representative ids to which the second vertex v(j,i2) is mapped. Furthermore, the spin permutations required for the symmetry transformations are stored. Each tuple of (rid1[i],rid2[i],transformedX1[i],transformedY1[i],transformedZ1[i],transformedX2[i],transformedY2[i],transformedZ2[i]) describes the transformations for a single term in the sum over overlapping lattice sites j.
|
inline |
Construct a new LatticeOverlap object for a given number of sites.
size | Number of sites in the overlapping region. |
|
inline |
Construct a new LatticeOverlap object from an existing one.
rhs | LatticeOverlap object. |
|
inlineprotected |