fracture.pos

Syntax

Vector Access

pos = fracture.pos(frac<,icomp>)
fracture.pos(frac<,icomp>) = pos

Get/set the fracture position.

Note

The fracture must fall completely within the model domain.

Returns:

pos - position vector or component

Accepts:

pos - position vector or component

Arguments:

frac - fracture pointer

icomp - optional vector component

Component Access

fpos = fracture.pos.x(frac)
fracture.pos.x(frac) = fpos

Get/set the x-component of the fracture position.

Note

The fracture must fall completely within the model domain.

Returns:fpos - x-component of the position
Accepts:fpos - x-component of the position
Arguments:frac - fracture pointer
fpos = fracture.pos.y(frac)
fracture.pos.y(frac) = fpos

Get/set the y-component of the fracture position.

Note

The fracture must fall completely within the model domain.

Returns:fpos - y-component of the position
Accepts:fpos - y-component of the position
Arguments:frac - fracture pointer
fpos = fracture.pos.z(frac) (3D only)
fracture.pos.z(frac) = fpos

Get/set the z-component of the fracture position.

Note

The fracture must fall completely within the model domain.

Returns:fpos - z-component of the position
Accepts:fpos - z-component of the position
Arguments:frac - fracture pointer