mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
23 lines
343 B
C
23 lines
343 B
C
|
|
#ifndef OPENMC_PROGRESSBAR_H
|
||
|
|
#define OPENMC_PROGRESSBAR_H
|
||
|
|
|
||
|
|
#include <string>
|
||
|
|
|
||
|
|
class ProgressBar {
|
||
|
|
|
||
|
|
public:
|
||
|
|
// Constructor
|
||
|
|
ProgressBar();
|
||
|
|
|
||
|
|
void set_value(double val);
|
||
|
|
|
||
|
|
private:
|
||
|
|
std::string bar;
|
||
|
|
char bar_old[72] = "???% | |";
|
||
|
|
|
||
|
|
};
|
||
|
|
|
||
|
|
|
||
|
|
#endif // OPENMC_PROGRESSBAR_H
|
||
|
|
|