syten::BTT::DMRG::Run::Run | ( | State && | psi_, |
Operator && | op_, | ||
DMRGConfig && | conf_ | ||
) |
Standard ctor, constructs and initialises DMRG calculation.
References syten::BinaryTree::Node< T >::a, syten::DMRG::DMRGConfig::alpha, std::boolalpha(), syten::BinaryTree::Node< T >::build_a(), build_rctr_rec(), syten::DMRG::DMRGConfig::cache, conf, converged(), ctr, syten::DMRG::DMRGConfig::currentStage, syten::DMRG::DMRGConfig::currentSweepsPerStage, syten::Threading::denseNum, syten::Signals::enable(), syten::genFuse(), initLog(), syten::DMRG::DMRGConfig::lastEnergy, syten::DMRG::DMRGConfig::log, logIter(), logTrace(), obj_cptr, obj_optr, obj_pptr, op, syten::DMRG::DMRGConfig::prefix, psi, syten::BinaryTree::Tree< T >::r, syten::Signals::receivedINTR, syten::Signals::receivedTERM, syten::BTT::Operator::rIdx, syten::BTT::State::rIdx, syten::BTT::State::rnorm(), saveState(), syten::BTT::State::setMaybeCache(), std::setw(), syten::DMRG::DMRGConfig::stages, syten::Threading::superNum, sweep(), syten::DMRG::DMRGConfig::sweepInitialEnergy, syten::DMRG::DMRGConfig::sweepLastInitialEnergy, SYTEN_INFO_BLAS, SYTEN_INFO_DEBUG_BUILD, SYTEN_INFO_OPENMP, syten::Threading::tensorNum, syten::Threading::tpoNum, syten::BinaryTree::Node< T >::v, and syten::verbose().