Lattice syten::IPEPS::Lat::U1::genSpinDisorder | ( | int const | width, |
int const | depth, | ||
std::vector< char > | site_classes | ||
) |
Generates a spin lattice with an additional spin per site to model a discrete disorder.
References syten::genRepsU1(), syten::Inc, std::iota(), std::vector< T >::size(), and SYTEN_ASSERT_MSG.
Referenced by syten::Pyten::init_ipeps_latgen().