SyTen

◆ getOut()

std::ostream & syten::getOut ( bool  b)

Returns std::cout if b is true, otherwise a dummy output stream.

Example\n
auto& out = getOut(!bpo_quiet);
out << "Test.\n"; // appears on stdout if bpo_quiet is false
std::ostream & getOut(bool b)
Returns std::cout if b is true, otherwise a dummy output stream.
Definition: output.cpp:98

References nout.

Referenced by syten::MPS::TEBD::doTEBD_parallel(), syten::MPS::TEBD::doTEBD_serial(), and syten::MPS::TEBD::getTEvolOps().

+ Here is the caller graph for this function: