Skip to content

Streaming

Description

The streaming step propagates the post-collision distributions along the lattice directions:

\[ f_i(\mathbf{x} + \mathbf{e}_i, t + 1) = f_i^*(\mathbf{x}, t). \]

It is implemented in place, with swaps, in two steps separated by a ghost-layer update:

  1. step 1: at each real node, swap of the two opposite directions \(i\) and \(\bar{i}\) of the same node;
  2. ghost update (MPI exchanges between subdomains, periodic images);
  3. step 2: swap between the direction \(\bar{i}\) of a node and the direction \(i\) of its neighbour \(\mathbf{x} + \mathbf{e}_i\), on the extended traversal.

Since the D3Q19 directions are stored by pairs of opposite directions (1/2, 3/4, ...), the two steps only swap memory and have no arithmetic: they are memory-bound.

YAML syntax

- streaming:
   asynchrone: false
Slot Type Default Description
asynchrone bool false overlap the ghost communications with the computation

Note

The asynchrone option is currently disabled: with asynchrone: true the streaming step does nothing. Keep the default.