SyTen

◆ save_state()

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

Parameters
[in]sstate to save
[in]Tcurrently evolved time
[in]prefixprefix of the filename
[in]outstream to wirte infos to
Returns
void

Definition at line 750 of file syten-tebd.cpp.

References std::endl(), syten::save(), SYTEN_EXT_MPS, and syten::to_string_real().

Referenced by doTEBD_parallel(), and doTEBD_serial().

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