Log¶
Description¶
Every simulation_print_log_freq steps, print_log_if_triggered runs:
simulation_state: computes global statistics with an MPI reduction (sum of the densities, minimum and maximum velocity norms) into thesimulation_statisticsslot;log: prints one line on rank 0: step, physical time, total number of nodes, sum of the densities, minimum and maximum velocity norm (m/s), and throughput in MLUPS (million lattice updates per second, since the previous log line).
Step Time Mesh Size Sum(density) min(||V||) max(||V||) MLUPS
0 0.000000e+00 27900 2.79e+04 1.59e-07 1.59e-07 0.00e+00
10 3.333333e-02 27900 2.79e+04 1.59e-07 1.59e-07 ...
The sum of the densities is a quick check of mass conservation (it equals the number of nodes at the reference state).
YAML syntax¶
| Operator | Slot | Type | Default | Description |
|---|---|---|---|---|
log |
print_log_header |
bool |
true |
print the column header before the first line |
simulation_state |
— | no user slot |