struct.liner.normal.dir

Syntax

v := struct.liner.normal.dir(p,inode)

Get the direction (unit vector in global system) in which the liner element is being loaded by the normal coupling spring at node inode (inode ∈ {1, 2, 3}).

Returns:

v - vector of the direction

Arguments:

p - a pointer to a liner element

inode - node number of the element, inode ∈ {1, 2, 3}

Component Access

f := struct.liner.normal.dir (p, inode)->x

f := struct.liner.normal.dir.x(p,inode)

Get the \(x\)-component of the direction (unit vector in global system) in which the liner element is being loaded by the normal coupling spring at node inode (inode ∈ {1, 2, 3}).

Returns:

f - \(x\)-component of vector of the direction

Arguments:

p - a pointer to a liner element

inode - node number of the element, inode ∈ {1, 2, 3}

Access other vector components (\(y\), \(z\)) 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 (struct.liner.normal.dir(p,inode<int>)) 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 := struct.liner.normal.dir.y(p,inode)
f := struct.liner.normal.dir.z(p,inode)