domain.condition

Syntax

sr = domain.condition(sd)
domain.condition(sd) = sr

Get/set the domain conditions. The domain conditions govern the behavior of objects that meet or intersect the model domain.

Returns:sd - condition with acceptable values destroy, reflect, periodic, and stop
Accepts:sd - condition with acceptable values destroy, reflect, periodic, and stop
Arguments:sr - domain direction with acceptable values {x and y in 2D; x, y, and z in 3D}

See Also: domain.max | domain.min | model domain condition