SyTen

◆ generateCompleteState_rec()

Index syten::BTT::RandomState::generateCompleteState_rec ( State state,
State::Ptr  sptr,
Lattice::Phys::Ptr  bptr,
Basis const &  target,
Basis const &  vacuum,
Basis const &  union_basis,
Index const  total_sites,
Index const  maxBlocksize = 5,
bool const  verbose = true 
)

Recursive helper for generateCompleteState().

Parameters
stateTarget state object
sptrpointer to the current node in the target state
bptrpointer to the current node in the basis tree of the target lattice
targettarget sector basis
vacuumvacuum basis
union_basisthe union of the bases on all sites
total_sitesthe total number of sites
maxBlocksizemaximal blocksize of dense matrices
verbosewhether to print verbose information
Returns
the number of sites in this subtree, including sptr.

References syten::Basis::a(), syten::filterBasis(), syten::Basis::flipped(), genRandom(), syten::progress(), syten::project(), syten::BTT::State::rIdx, and syten::BTT::State::rnorm_node().

Referenced by generateCompleteState().

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