# zone.density

Syntax

f := zone.density(z)
zone.density(z) := f

Get/set the density of the zone. Note that updates to the gravitational and inertial mass of connected gridpoints may not occur until an update occurs. This normally happens at the start of cycling and at the geometry update interval in large-strain mode. The zone.do.update intrinsic can be used to force an udpate at the start of the next cycle.

Returns: f - the current zone density f - the current zone density z - a zone pointer