void syten::MPS::TEBD::save_state | ( | MPS::State | s, |
SDef const | T, | ||
std::string | prefix, | ||
std::ostream & | out | ||
) |
builds filename and calls save function in order to save a state to a file
[in] | s | state to save |
[in] | T | currently evolved time |
[in] | prefix | prefix of the filename |
[in] | out | stream to wirte infos to |
References std::endl(), syten::save(), SYTEN_EXT_MPS, and syten::to_string_real().
Referenced by doTEBD_parallel(), and doTEBD_serial().