struct.beam.load

Syntax

v := struct.beam.load(p)
struct.beam.load(p) := v

Get/set the uniform applied distributed load acting on the beam element in the local \(y\)- and \(z\)-directions.

The \(x\)-component of the return value will always be 0.0; on assignment it is ignored.

The optional argument idof can be used to specify whether only the value in the \(y\)- or \(z\)-direction will be returned/assigned.

Returns:v - the uniform applied distributed load acting on the beam element, or the \(y\)- or \(z\)-component
Accepts:v - the uniform applied distributed load acting on the beam element, or the \(y\)- or \(z\)-component
Arguments:p - a pointer to a beam element