suanPan
transform::beam Namespace Reference

Functions

mat global_to_local (double, double, double)
 
mat global_to_local (const vec &, double)
 a subroutine to get transformation matrix between global and local coordinate system More...
 

Function Documentation

◆ global_to_local() [1/2]

mat transform::beam::global_to_local ( const vec &  direction_cosine,
double  length 
)

a subroutine to get transformation matrix between global and local coordinate system

Parameters
direction_cosinethe direction cosine consists of either two or three elements
lengththe length of the member
Returns
a matrix that transforms global quantities to local quantities with rigid body motions removed
Here is the call graph for this function:

◆ global_to_local() [2/2]

mat transform::beam::global_to_local ( double  cos,
double  sin,
double  length 
)
Here is the caller graph for this function: