ball.moment.app

Syntax

v = ball.moment.app(bp)
ball.moment.app(bp) = v

Get/set the ball applied moment.

Returns:

v - ball applied moment vector

Accepts:

v - ball applied moment vector

Arguments:

bp - ball pointer

Component Access

f = ball.moment.app (bp)->x
ball.moment.app (bp)->x = f

f = ball.moment.app.x(bp)
ball.moment.app.x(bp) = f

Get/set the \(x\)-component of the ball applied moment.

Returns:

f - \(x\)-component of the all applied moment vector

Accepts:

f - \(x\)-component of the all applied moment vector

Arguments:

bp - ball 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 = ball.moment.app(bp,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 tensor component access functions for inline help.

f = ball.moment.app.y(bp)
f = ball.moment.app.z(bp) (3D ONLY)