SyTen

◆ rename()

std::string_view syten::STensorImpl::SBasis::rename ( std::string_view  name_)

Sets the name of the basis to something else.

Throws if name_ contains more than nine characters, does not affect the identifiers.

References syten::LimVec< Type, max, MaxType, type >::capacity(), syten::LimVec< Type, max, MaxType, type >::clear(), cname, name(), syten::LimVec< Type, max, MaxType, type >::push_back(), and SYTEN_ASSERT_MSG.

Referenced by syten::STensorImpl::STensorProxy::b(), syten::STensorImpl::combine_bases(), syten::STensorImpl::gen_merge(), syten::T3N::RandomState::generateNearVacuumState_rec(), syten::T3N::genPhysId(), syten::Pyten::init_stensor(), syten::IPEPSv2::make_tree_like(), SBasis(), and syten::T3N::Lattice::siteBasis().

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