Checkers¶
Checkers are analysis operators that inspect the simulation state without modifying it. They run in the checker
block, at the end of the simulation, and are mainly used for regression testing (ctest). The default checker
block is:
A regression deck overrides checker_op.
check_macro_quantities¶
Description¶
Checks the macroscopic quantities (sum of the densities, minimum and maximum velocity norm) against user-defined
bounds, and aborts the simulation (MPI_Abort on all ranks) if any check fails. Otherwise it prints Test Pass..
YAML syntax¶
| Slot | Type | Default | Description |
|---|---|---|---|
density |
double |
optional | expected sum of the densities (requires tol) |
tol |
double |
optional | absolute tolerance on the sum of the densities |
vmin |
double |
0 |
minimal velocity norm allowed (lattice units) |
vmax |
double |
optional | maximal velocity norm allowed (lattice units) |
Warning
density without tol is an error. The velocity bounds are compared with the lattice velocities of
simulation_state.