void syten::T3N::Lattice::add | ( | std::string const & | id, |
std::string const & | desc, | ||
std::vector< Tensor< 4 > > const & | ops, | ||
bool const | overwrite = false , |
||
bool const | periodic = true |
||
) |
Overload for inhomogeneous lattice.
References globalOperators, syten::RepRegister::id(), std::make_pair(), numTypes(), siteOperators, SYTEN_ASSERT, and SYTEN_ASSERT_MSG.