#include <Pattern.hpp>
|
std::map< std::size_t, std::size_t > | label2index |
|
std::map< std::size_t, std::size_t > | index2unique |
|
std::vector< std::vector< std::size_t > > | data |
|
std::map< std::size_t, std::vector< std::size_t > > | sites_of_label |
|
std::size_t | Lx = 1 |
|
std::size_t | Ly = 1 |
|
◆ Pattern()
Xped::Pattern::Pattern |
( |
const std::vector< std::vector< std::size_t > > & |
pat = {{0ul}} , |
|
|
bool |
TRANSPOSE = false |
|
) |
| |
|
inlineexplicit |
◆ col()
Pattern Xped::Pattern::col |
( |
int |
y | ) |
const |
◆ coords()
std::pair< int, int > Xped::Pattern::coords |
( |
const std::size_t |
index | ) |
const |
◆ index()
std::size_t Xped::Pattern::index |
( |
const int |
x, |
|
|
const int |
y |
|
) |
| const |
◆ init()
void Xped::Pattern::init |
( |
| ) |
|
◆ isUnique()
bool Xped::Pattern::isUnique |
( |
const int |
x, |
|
|
const int |
y |
|
) |
| const |
◆ operator==()
bool Xped::Pattern::operator== |
( |
const Pattern & |
other | ) |
const |
|
inline |
◆ print()
tabulate::Table Xped::Pattern::print |
( |
| ) |
const |
◆ row()
Pattern Xped::Pattern::row |
( |
int |
x | ) |
const |
◆ serialize() [1/2]
template<typename Ar >
void Xped::Pattern::serialize |
( |
Ar & |
ar | ) |
|
|
inline |
◆ serialize() [2/2]
template<typename Ar >
void Xped::Pattern::serialize |
( |
Ar & |
ar | ) |
const |
|
inline |
◆ size()
std::size_t Xped::Pattern::size |
( |
| ) |
const |
|
inline |
◆ uniqueIndex() [1/2]
std::size_t Xped::Pattern::uniqueIndex |
( |
const int |
x, |
|
|
const int |
y |
|
) |
| const |
◆ uniqueIndex() [2/2]
std::size_t Xped::Pattern::uniqueIndex |
( |
const std::size_t |
index | ) |
const |
◆ uniqueSize()
std::size_t Xped::Pattern::uniqueSize |
( |
| ) |
const |
|
inline |
◆ UnitCell
◆ data
std::vector<std::vector<std::size_t> > Xped::Pattern::data |
◆ index2unique
std::map<std::size_t, std::size_t> Xped::Pattern::index2unique |
◆ label2index
std::map<std::size_t, std::size_t> Xped::Pattern::label2index |
◆ Lx
std::size_t Xped::Pattern::Lx = 1 |
◆ Ly
std::size_t Xped::Pattern::Ly = 1 |
◆ sites_of_label
std::map<std::size_t, std::vector<std::size_t> > Xped::Pattern::sites_of_label |
The documentation for this struct was generated from the following files: