109 "A gas of non-dissipative particles are simulated, colliding at a constant rate.\n"
110 "An external potential force field, f_i=-r_i, keeps the particles in the center of the box.\n"
111 "No walls, boundaries, file output, thus testing the speed of particle collisions.");
118 logger(
INFO,
"Total time to run monodisperse simulation: %s (Expected: 3s)", time.
toc());
123 poly.setTimeMax(0.51 * poly.getTimeMax());
125 logger(
INFO,
"Total time to run polydisperse simulation: %s (Expected: 3s)", time.
toc());
129 highPoly.setTimeMax(0.44 * highPoly.getTimeMax());
131 logger(
INFO,
"Total time to run highly polydisperse simulation: %s (Expected: 3s)", time.
toc());
LL< Log::INFO > INFO
Info log level.
Definition: Logger.cc:55
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
Allows for timing the algorithms; accurate up to 0.01 sec.
Definition: MercuryTime.h:46
Mdouble toc()
This is like a stop button of a stopwatch. Assigns the variable finish to the current value of ticks ...
Definition: MercuryTime.h:70
void tic()
This is like a start button of a stopwatch. Assigns the variable start with the current number of clo...
Definition: MercuryTime.h:59