gp.disp.small

Syntax

Vector Access

v = gp.disp.small(gp<,i>)
gp.disp.small(gp<,i>) = v

Get the small displacement vector for the gridpoint. Returns a vector, unless an optional component argument i is supplied, in which case it returns the component value.

Small displacements are incremented from velocity and timestep only in the small-strain model. See the command model largestrain. The small-strain vector field is used in the interface logic to calculate overlaps.

Returns:

v - small displacement vector or component

Accepts:

v - small displacement vector or component

Arguments:

gp - gridpoint pointer

i - optional vector component, from 1 to 3

Component Access

f = gp.disp.small.x(gp)
gp.disp.small.x(gp) = f

Get the x-component small displacement vector.

Returns:f - x-component small displacement vector
Accepts:f - x-component small displacement vector
Arguments:gp - gridpoint pointer
f = gp.disp.small.y(gp)
gp.disp.small.y(gp) = f

Get the y-component small displacement vector.

Returns:f - y-component small displacement vector
Accepts:f - y-component small displacement vector
Arguments:gp - gridpoint pointer
f = gp.disp.small.z(gp)
gp.disp.small.z(gp) = f

Get the z-component small displacement vector.

Returns:f - z-component small displacement vector
Accepts:f - z-component small displacement vector
Arguments:gp - gridpoint pointer