pycba.load.Load#
- class Load(i_span)[source]#
Bases:
object
Beam load container and processor
Initialize the loads from the Load Matrix
- Parameters:
i_span (int) – The index of the span (or member), 1-based
Methods
Heaviside step function: values less than zero are clipped to zero; values greater than zero are clipped to unity; zeros are retained.
Macaulay bracket: clipping values less than zero to zero.
get_cnl
get_mbr_results
Returns the Released End Forces for a span of length L of element eType: converts the Consistent Nodal Loads of the applied loading to the correct nodal loading depending on the element type.
- MB(v)[source]#
Macaulay bracket: clipping values less than zero to zero.
- Parameters:
v (np.ndarray) – The vector to which the Macaulay Bracket will be applied
- Return type:
ndarray
- H(v, value=0.0)[source]#
Heaviside step function: values less than zero are clipped to zero; values greater than zero are clipped to unity; zeros are retained.
- Parameters:
v (np.ndarray) – The vector to which the Heaviside function will be applied
value (float) – The value of the Heaviside function at zero, usually 0, but sometimes 0.5 (average of adjacent values) or 1.0.
- Return type:
ndarray
- get_ref(L, eType)[source]#
Returns the Released End Forces for a span of length L of element eType: converts the Consistent Nodal Loads of the applied loading to the correct nodal loading depending on the element type.
- Parameters:
L (float) – The length of the member
eType (int) – The member element type
- Returns:
Released End Forces for this load type: the nodal loads to be applied in the analysis, consistent with the element type.
- Return type: