inciter::InciterPrint class

InciterPrint : tk::Print.

Base classes

class tk::Print

Constructors, destructors, conversion operators

InciterPrint(std::ostream& str = std::clog, std::ostream& qstr = std::cout) explicit

Public functions

template<typename Option, typename... tags>
void Item() const
Print control option: 'group : option'.
template<typename Option, typename T>
void ItemVec(const std::vector<T>& v) const
void eqlegend()
Print PDE factory legend.
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 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)
Print mesh refinement variables and their indices in the unknown vector.
void edgeref(const std::vector<std::size_t>& edgenodes)
Print initial mesh refinement edge-node pairs.

Function documentation

inciter::InciterPrint::InciterPrint(std::ostream& str = std::clog, std::ostream& qstr = std::cout) explicit

Parameters
str in/out Verbose stream
qstr in/out Quiet stream

Constructor

template<typename Option, typename T>
void inciter::InciterPrint::ItemVec(const std::vector<T>& v) const

Parameters
in Vector of option types (enums) whose code vector to print

Print list of codes of vector-valued option

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::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)

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