OpenMC/include/openmc/progress_bar.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
336 B
C
Raw Permalink Normal View History

2018-10-29 18:02:00 -05:00
#ifndef OPENMC_PROGRESSBAR_H
#define OPENMC_PROGRESSBAR_H
#include <string>
class ProgressBar {
public:
// Constructor
ProgressBar();
void set_value(double val);
2021-08-11 11:41:49 -05:00
2018-10-29 18:02:00 -05:00
private:
std::string bar;
char bar_old[72] =
"???% | |";
};
#endif // OPENMC_PROGRESSBAR_H