pycba.load.LoadUDL#
- class LoadUDL(i_span, w)[source]#
Bases:
Load
Uniformly Distributed Load: CNLs and member results
Creates a UDL for the member
- Parameters:
i_span (int) – The member index to which the load is applied.
w (float) – The load magnitude.
- Return type:
None.
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.
Returns the Consistent Nodal Loads for a span of length L of element eType
Results along the member from UDL
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.
- get_cnl(L, eType)[source]#
Returns the Consistent Nodal Loads for a span of length L of element eType
- Parameters:
L (float) – The length of the member
eType (int) – The member element type
- Returns:
Consistent Nodal Loads for this load type
- Return type:
- get_mbr_results(x, L)[source]#
Results along the member from UDL
- Parameters:
x (np.ndarray) – Vector of points along the length of the member
L (float) – The length of the member
- Returns:
res – A populated
pycba.load.MemberResults
object- Return type:
- H(v, value=0.0)#
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
- MB(v)#
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
- get_ref(L, eType)#
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: