SG++-Doxygen-Documentation
|
This is used to implement the output on the command line. More...
#include <ScreenOutput.hpp>
Public Member Functions | |
ScreenOutput () | |
Standard constructor. More... | |
void | update (size_t progress, std::string status) |
update function running windows More... | |
void | writeEmptyLines (size_t numLines) |
writes empty lines More... | |
void | writeHelp (std::string helpText) |
writes some help information to the console More... | |
void | writeStartSolve (std::string text) |
start the screen output More... | |
void | writeTitle (std::string appTitle, std::string appAuthor) |
writes the header of the screen output More... | |
~ScreenOutput () | |
Standard destructor. More... | |
This is used to implement the output on the command line.
sgpp::base::ScreenOutput::ScreenOutput | ( | ) |
Standard constructor.
sgpp::base::ScreenOutput::~ScreenOutput | ( | ) |
Standard destructor.
void sgpp::base::ScreenOutput::update | ( | size_t | progress, |
std::string | status | ||
) |
update function running windows
progress | percentage value |
status | status in words |
References python.statsfileInfo::i.
Referenced by python.uq.refinement.RefinementStrategy.Ranking::rank(), python.learner.LearnedKnowledge.LearnedKnowledge::setMemento(), sgpp::solver::AdamsBashforth::solve(), sgpp::solver::CrankNicolson::solve(), sgpp::solver::Euler::solve(), and sgpp::solver::StepsizeControl::solve().
void sgpp::base::ScreenOutput::writeEmptyLines | ( | size_t | numLines | ) |
writes empty lines
numLines | number of empty lines to display |
Referenced by sgpp::solver::AdamsBashforth::solve(), sgpp::solver::CrankNicolson::solve(), sgpp::solver::Euler::solve(), sgpp::solver::StepsizeControl::solve(), sgpp::pde::HeatEquationSolver::solveCrankNicolson(), sgpp::pde::HeatEquationSolverWithStretching::solveCrankNicolson(), sgpp::pde::HeatEquationSolver::solveExplicitEuler(), sgpp::pde::HeatEquationSolverWithStretching::solveExplicitEuler(), sgpp::pde::HeatEquationSolver::solveImplicitEuler(), and sgpp::pde::HeatEquationSolverWithStretching::solveImplicitEuler().
void sgpp::base::ScreenOutput::writeHelp | ( | std::string | helpText | ) |
writes some help information to the console
helpText | the helptext to be displayed |
void sgpp::base::ScreenOutput::writeStartSolve | ( | std::string | text | ) |
start the screen output
text | the start text to be displayed |
References python.utils.data_projections::line.
Referenced by sgpp::pde::HeatEquationSolver::solveCrankNicolson(), sgpp::pde::HeatEquationSolverWithStretching::solveCrankNicolson(), sgpp::pde::HeatEquationSolver::solveExplicitEuler(), sgpp::pde::HeatEquationSolverWithStretching::solveExplicitEuler(), sgpp::pde::HeatEquationSolver::solveImplicitEuler(), and sgpp::pde::HeatEquationSolverWithStretching::solveImplicitEuler().
void sgpp::base::ScreenOutput::writeTitle | ( | std::string | appTitle, |
std::string | appAuthor | ||
) |
writes the header of the screen output
appTitle | the application's title |
appAuthor | the application's author |
Referenced by sgpp::pde::HeatEquationSolver::initScreen(), sgpp::pde::HeatEquationSolverWithStretching::initScreen(), and sgpp::pde::PoissonEquationSolver::initScreen().