SyTen

◆ genSpinDisorder()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: