void syten::BTT::DMRG::Run::saveState | ( | ) |
Saves the currently-stored state.
References argc, argv, syten::DMRG::DMRGConfig::cache, syten::concatArg(), conf, syten::DMRG::DMRGConfig::currentStage, syten::DMRG::DMRGConfig::currentSweepsPerStage, std::string::empty(), syten::BTT::State::history, syten::DMRG::DMRGConfig::lastEnergy, logTrace(), syten::DMRG::DMRGConfig::prefix, psi, syten::Signals::receivedINTR, syten::BTT::State::rnorm(), syten::save(), syten::BTT::State::setMaybeCache(), syten::DMRG::DMRGConfig::state_filename, SYTEN_EXT_BTS, and std::to_string().
Referenced by Run().