SyTen

◆ generateCompleteState()

State syten::BTT::RandomState::generateCompleteState ( Lattice const &  lat,
Basis const &  target,
Index const  maxStates = 5,
Index  maxBlocksize = 5,
bool const  verbose = true 
)

Generates a near-complete BTT state.

Parameters
latthe lattice on which to generate the state
targetthe target symmetry sector
maxStatesthe maximal number of states in the generated state
maxBlocksizethe maximal size of dense blocks in the generated state
verbosewhether to print verbose information

References generateCompleteState_rec(), syten::Inc, syten::BTT::Lattice::phys, syten::project(), syten::BinaryTree::Tree< T >::r, syten::BTT::State::rIdx, SYTEN_ZERO_THRESHOLD, syten::BTT::State::truncate(), syten::BinaryTree::Node< T >::v, syten::BTT::Lattice::vac, and syten::BinaryTree::Tree< T >::visit_top().

+ Here is the call graph for this function: