SyTen

◆ genPhys()

Lattice::Types syten::T3N::genPhys ( std::string_view const  skelleton_,
Lattice::Translator  translator_,
Index const  value = 0 
)

Builds BasisTree from skelleton and Basis.

Does not include Root Node, which is taken to be Physical. Syntax is "[coordinate]:[type]|...|..." w/ [coordinate] being a sequence of 'a' or 'b' and [type] being P or B. Caution: The previous tree has to exist before adding a leaf.

References std::vector< T >::back(), std::string::begin(), std::vector< T >::end(), std::string::end(), std::string::find_first_not_of(), std::move(), std::vector< T >::pop_back(), std::vector< T >::push_back(), std::string::push_back(), std::vector< T >::size(), syten::split(), SYTEN_ASSERT_MSG, and std::transform().

Referenced by syten::T3N::Lat::U1::genBosonLattice(), syten::T3N::Lat::U1U1::genFermiHubbard(), syten::T3N::Lat::U1U1Z::genFermiHubbardCyclic(), syten::T3N::Lat::U1::genFermiLattice(), syten::T3N::Lat::U1::genSpinLattice(), and syten::T3N::Lat::SU2::genSpinLattice().

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