Domain¶
The domain operator defines the simulation box and the grid of cells used for the neighbor search and the MPI
domain decomposition:
Parameters' description
| Parameter | Description |
|---|---|
bounds |
lower and upper corners of the simulation box |
cell_size |
size of a grid cell; it must be larger than the largest particle diameter plus rcut_inc |
grid_dims |
number of cells per direction |
periodic |
periodicity per direction |
expandable |
the box can grow along the non-periodic directions when particles leave it |
Warning
cell_size, grid_dims and bounds must be consistent: bounds spans grid_dims cells of size cell_size
(here 5 × 4 = 20 in each direction).
Some readers (read_xyz, read_dump_particle_interaction, restart, ...) take the box from their input file: the
domain block then only gives the cell size and the periodicity, as in: