88 "A gas of non-dissipative particles are simulated, colliding at a constant rate.\n"
89 "An external potential force field, f_i=-r_i, keeps the particles in the center of the box.\n"
90 "No walls, boundaries, file output, thus testing the speed of particle collisions.");
97 logger(
INFO,
"Total time to run monodisperse simulation: %s (Expected: 3s)", time.
toc());
102 poly.setTimeMax(0.51 * poly.getTimeMax());
104 logger(
INFO,
"Total time to run polydisperse simulation: %s (Expected: 3s)", time.
toc());
108 highPoly.setTimeMax(0.44 * highPoly.getTimeMax());
110 logger(
INFO,
"Total time to run highly polydisperse simulation: %s (Expected: 3s)", time.
toc());
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:25
Mdouble toc()
This is like a stop button of a stopwatch. Assigns the variable finish to the current value of ticks ...
Definition: MercuryTime.h:49
void tic()
This is like a start button of a stopwatch. Assigns the variable start with the current number of clo...
Definition: MercuryTime.h:38
#define INFO(i)
Definition: mumps_solver.h:54