# struct.beam.moment

Syntax

v := struct.beam.moment(p,iend)

Get the moment at one end of the beam in element local system.

Which end is determined by iend, which should be 1 or 2.

Returns: v - moment at one end of the beam p - a beam pointer iend - indicates which end of the beam is used, can be 1 or 2

Component Access

f := struct.beam.moment (p, iend)->x

f := struct.beam.moment.x(p,iend)

Get the $$x$$-component of the moment at one end of the beam in element local system.

Returns: f - $$x$$-component of moment at one end of the beam p - a beam pointer iend - indicates which end of the beam is used, can be 1 or 2

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.beam.moment(p,iend,<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.beam.moment.y(p,iend)
f := struct.beam.moment.z(p,iend)