SyTen

◆ saveState()

State syten::MPS::DMRG::PDMRG::saveState ( bool  returnStateExit = false)

Saves the state, potentially slow.

Definition at line 174 of file dmrg_parallel.cpp.

References argc, argv, syten::DMRG::DMRGConfig::cache, syten::MPS::State::cache(), syten::concatArg(), conf, connections, syten::DMRG::DMRGConfig::currentStage, syten::DMRG::DMRGConfig::currentSweepsPerStage, std::string::empty(), syten::MPS::State::history, syten::MPS::State::lInt, logTrace(), numWorkers, syten::Signals::receivedINTR, syten::MPS::State::resize(), syten::MPS::State::rightnorm(), syten::MPS::State::rInt, syten::save(), syten::MPS::State::size(), SYTEN_EXT_MPS, std::to_string(), syten::MPS::State::uInt, and workers.

Referenced by logTrace(), and run().

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