walker::WalkerPrint class

WalkerPrint : tk::RNGPrint.

Base classes

class tk::RNGPrint
RNGPrint : Print.

Constructors, destructors, conversion operators

WalkerPrint(const std::string& screen, std::ostream& str = std::clog, std::ios_base::openmode mode = std::ios_base::out, std::ostream& qstr = std::cout) explicit

Public functions

template<typename Option, typename... tags>
void Section() const
Print section only if differs from its default.
template<typename... tags>
void Item(const std::string& name) const
template<typename Option, typename... tags>
void Item() const
Print control option: 'group : option' only if differs from its default.
void inthead(const std::string& t, const std::string& name, const std::string& legend, const std::string& head) const
Print time integration header.
void statistics(const std::string& t) const
Print statistics and PDFs.
void diffeqs(const std::string& t, const std::vector<std::vector<std::pair<std::string, std::string>>>& info) const
Print configuration of a stack of differential equations.

Function documentation

walker::WalkerPrint::WalkerPrint(const std::string& screen, std::ostream& str = std::clog, std::ios_base::openmode mode = std::ios_base::out, std::ostream& qstr = std::cout) explicit

Parameters
screen in Screen output filename
str in/out Verbose stream
mode in Open mode for screen output file, see http://en.cppreference.com/w/cpp/io/ios_base/openmode
qstr in/out Quiet stream

Constructor

template<typename... tags>
void walker::WalkerPrint::Item(const std::string& name) const

Parameters
name in Name of item

Print item: 'name : value' only if differs from its default

void walker::WalkerPrint::inthead(const std::string& t, const std::string& name, const std::string& legend, const std::string& head) const

Print time integration header.

Parameters
in Section title
name in Section name
legend in Legend to print
head in Head to append

void walker::WalkerPrint::statistics(const std::string& t) const

Print statistics and PDFs.

Parameters
in Section title

void walker::WalkerPrint::diffeqs(const std::string& t, const std::vector<std::vector<std::pair<std::string, std::string>>>& info) const

Print configuration of a stack of differential equations.

Parameters
in Title to use
info in Info vector to use