inciter::InciterPrint class

InciterPrint : tk::Print.

Base classes

class tk::Print

Constructors, destructors, conversion operators

InciterPrint(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 Item() const
Print control option: 'group : option'.
template<class Factory>
void eqlist(const std::string& t, const Factory& factory, std::size_t ntypes) const
void pdes(const std::string& t, const std::vector<std::vector<std::pair<std::string, std::string>>>& info) const
Print configuration of a stack of partial differential equations.
void couple(const std::vector<Transfer>& transfer, const std::vector<char>& depvar) const
Print out info on solver coupling.
void inthead(const std::string& t, const std::string& name, const std::string& legend, const std::string& head) const
Print time integration header.
void refvar(const std::vector<std::string>& rvar, const std::vector<std::size_t>& refidx) const
Print mesh refinement variables and their indices in the unknown vector.
void edgeref(const std::vector<std::size_t>& edgenodes) const
Print initial mesh refinement edge-node pairs.

Function documentation

inciter::InciterPrint::InciterPrint(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<class Factory>
void inciter::InciterPrint::eqlist(const std::string& t, const Factory& factory, std::size_t ntypes) const

Parameters
in Section title
factory in Factory to get equation data from
ntypes in Unique equation types

Print equation list with policies

void inciter::InciterPrint::pdes(const std::string& t, const std::vector<std::vector<std::pair<std::string, std::string>>>& info) const

Print configuration of a stack of partial differential equations.

Parameters
in Title to use
info in Info vector to use

void inciter::InciterPrint::couple(const std::vector<Transfer>& transfer, const std::vector<char>& depvar) const

Print out info on solver coupling.

Parameters
transfer in List of solution transfer steps, describing coupling
depvar in List of dependent variables assigned to solvers

void inciter::InciterPrint::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 inciter::InciterPrint::refvar(const std::vector<std::string>& rvar, const std::vector<std::size_t>& refidx) const

Print mesh refinement variables and their indices in the unknown vector.

Parameters
rvar in Refinement variable name list
refidx in Refinement variable index (location in data array) list