41 std::vector<long> _intervals;
46 Progress(
long num_iterations, std::string name,
double interval=0.1,
47 Geometry* geometry=NULL,
bool mpi_comm=
false);
The master class containing references to all geometry-related objects - Surfaces, Cells, Universes and Lattices - and Materials.
Definition: Geometry.h:122
void reset()
Reset the counter.
Definition: Progress.cpp:85
Definition: Progress.h:33
virtual ~Progress()
Destructor for Progress.
Definition: Progress.cpp:39
Progress(long num_iterations, std::string name, double interval=0.1, Geometry *geometry=NULL, bool mpi_comm=false)
Constructor for Progress.
Definition: Progress.cpp:7
void incrementCounter()
Increment the counter, print log if it has reached an interval bound.
Definition: Progress.cpp:46
Utility functions for writing log messages to the screen.