Advanced Driver Operators¶
These operators are part of the default graph; they are documented for developers and advanced users.
grid_rshape_driver¶
Projects an RShape (vertices, edges and faces) onto the cells of the grid to speed up the search for interactions: each cell gets the list of vertices, edges and faces that may be in contact with its particles.
| Parameter | Description |
|---|---|
force_reset |
forces the grid to be rebuilt |
Note
- The RShape is only projected onto the cells of the subdomain of the MPI process. If the subdomain changes, the update must be forced.
- If the RShape is stationary (zero velocity and angular velocity), the grid is not updated, which speeds up the computations for RShapes with many elements.
driver_vertices¶
Updates the vertex positions of the drivers with vertices (currently the RShape drivers), and fills their vertices
field.
| Parameter | Description |
|---|---|
force_host |
computes on the host |
Note
For GPU performance reasons, you may choose not to update the GPU data, since it is used to build the interaction lists on the CPU.
driver_displ_over¶
Detects whether a driver has moved by more than half the Verlet radius since the last rebuild of the interaction lists
(it works with backup_drivers, which stores the driver data at that step). The result triggers a rebuild of the
neighbor lists.
- ball: distance between the two centers;
- RShape: displacement of all the vertices;
- cylinder: disabled;
- wall: difference between the offsets.
On GPU, these tests run on the CPU, except for the RShapes, which require a reduction. The threshold is set by the
simulation (deduced from rcut_inc).