fracture.pos

Syntax

v = fracture.pos(frac)
fracture.pos(frac) = v

Get/set the fracture position.

Note

The fracture must fall completely within the model domain.

Returns:

v - position vector

Accepts:

v - position vector

Arguments:

frac - fracture pointer

Component Access

f = fracture.pos (frac)->x
fracture.pos (frac)->x = f

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

Get/set the \(x\)-component of the fracture position.

Note

  • The fracture must fall completely within the model domain.

Returns:

f - \(x\)-component of the fracture position

Accepts:

f - \(x\)-component of the fracture position

Arguments:

frac - fracture pointer

Access other vector components (\(y\), \(z\) (3D ONLY)) by substituting the component name where \(x\) appears above. See Member Access Operator for information about accessing members from data types using ->.

Deprecated Component Access

Component access by adding an optional integer in the function arguments (e.g., f = fracture.pos(frac, 3)) is deprecated. It remains available but will not be supported in future versions. See Component Access with Integers in FISH on the Deprecated Commands and FISH page for details.

This is hidden. Added to include remaining vector component access functions for inline help.

f = fracture.pos.y(frac)
f = fracture.pos.z(frac) (3D ONLY)