Skip to main content

rank_mask

Function rank_mask 

Source
pub fn rank_mask(
    grid: &CellGrid,
    assign: &[u32],
    point_cell: &[u32],
    cells: &[u32],
    rank: u32,
    width: [u32; 3],
) -> RankMask
Expand description

Halo and point mask for one rank, from that rank’s own cells.

The stencil is painted in the same walk that visits those cells.