pycba.load.LoadPL#

class LoadPL(i_span, P, a)[source]#

Bases: Load

Point Load class: CNLs and member results

Creates a Point Load for the member

Parameters:
  • i_span (int) – The member index to which the load is applied.

  • P (float) – The load magnitude.

  • a (float) – The load location along the member

Return type:

None.

Methods

H

Heaviside step function: values less than zero are clipped to zero; values greater than zero are clipped to unity; zeros are retained.

MB

Macaulay bracket: clipping values less than zero to zero.

get_cnl

Returns the Consistent Nodal Loads for a span of length L of element eType

get_mbr_results

Results along the member from this load

get_ref

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:

LoadCNL

get_mbr_results(x, L)[source]#

Results along the member from this load

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:

MemberResults

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:

LoadCNL