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 std::flush(), std::ofstream::is_open(), std::right(), std::scientific(), std::setprecision(), std::setw(), and syten::shiftTime().

+ Here is the call graph for this function: