struct.local.system

Syntax

m = struct.local.system(p<,idir><,idof>)

Get the local coordinate system for the structural element.

Returns a 3x3 matrix representing the local coordinate system. If the optional first argument idir is specified, then it will return a vector representing the direction of that degree-of-freedom. If the optional second argument idof is also given, then it will return that component of the vector.

Returns:

m - a 3x3 matrix if no additional argument is given. A vector if one optional argument is provided. A real value if two optional arguments are provided.

Arguments:

p - a pointer to a structural element.

idir - an optional argument indicating the local degree-of-freedom (from 1 to 3) of which you want the direction

idof - an optional argument indicating which component of the vector (from 1 to 3) is wanted