Struct lattice_index_pair¶
Defined in File lattice_matrix_element.hpp
Struct Documentation¶
-
struct lattice_index_pair¶
Matrix element indices for a lattice operator, for sorting.
Public Functions
-
inline lattice_index_pair()¶
constructor
-
inline lattice_index_pair(const int &_site1, const int &_spin1, const int &_site2, const int &_spin2, const int _neighbor)¶
constructor
-
inline string str() const¶
Public Members
-
size_t site1¶
number of orbitals in the SUC (from the model)
row site index
-
size_t spin1¶
rwo spin index
-
size_t site2¶
column site index
-
size_t spin2¶
column spin index
-
size_t neighbor¶
index of the neighboring SUC
-
size_t rank¶
flattened index
Public Static Attributes
-
static size_t Nc¶
Friends
-
inline friend std::ostream &operator<<(std::ostream &flux, const lattice_index_pair &s)¶
-
inline friend bool operator<(const lattice_index_pair &x, const lattice_index_pair &y)¶
-
inline lattice_index_pair()¶