attach.snap

Syntax

i := attach.snap(a)
attach.snap(a) := i

Get/set snap option for attach. Gridpoints on opposite attached faces will maintain their position if i is set to 1. Snap is set to true by default.

Returns:

i - if equal to 1, the snap is true

Accepts:

i - if equal to 1, the snap is set to be true

Arguments:

a - attach pointer