SyTen

◆ cache()

void syten::T3N::DMRG::Run::cache ( Tree::Position const &  pos,
bool const  do_cache = true,
LegType const  dir = LegType::Invalid 
)
private

Caches the requested position in all Hamiltonians.

If dir is is not LegType::Invalid the corresponding direction is cached.

References syten::Caching::do_cache, syten::T3N::Tree::Node< T >::Legs, and syten::T3N::Tree::Node< T >::v.