Mask of the integer triples whose leading nonzero entry is positive.
One of every {m, -m} pair, never m = 0; G and -G contribute
equally to an Ewald sum of a real variable, so the half space carries
weight two.
- Parameters:
grid (Tensor)
- Return type:
Tensor