SyTen

◆ logIter()

template<typename Type1 , typename Type2 , typename Type3 , typename Type4 , typename Type5 >
void syten::MPS::DMRG::LBOWorker::logIter ( Type1  direction,
Type2  stage,
Type2  sweep,
Type2  pos,
Type5  type,
Type3  esEnergy,
Type2  esIter,
Type3  esResidual,
Type3  energy,
Type3  truncation,
Type3  alpha,
Type2  n,
Type2  s,
Type2  r,
Type2  t,
Type2  b,
Type4  esReason 
)
inline

Log the data for a single iteration, potentially to both std::cout and the iteration logfile.

References conf, std::flush(), std::ofstream::is_open(), iterLog, std::right(), std::scientific(), std::setprecision(), std::setw(), syten::shiftTime(), std::stringstream::str(), sweep(), and syten::DMRG::DMRGConfig::worker.

+ Here is the call graph for this function: