pycba.load.MemberResults#

class MemberResults(vals=None, n=None)[source]#

Bases: object

Class for storing the results for a single member

Construct the class with a tuple of the vectors of results along the member.

Parameters:
  • vals (Optional[Tuple[np.array, np.array, np.ndarray, np.ndarray, np.ndarray, np.ndarray]], optional) – The tuple containing the vectors of results along the member (x, M, V, R, D). The default is None.

  • n (Optional[int], optional) – The length of each vector in the results tuple. The default is None.

Raises:

ValueError – Either of the function parameters must be provided.

Return type:

None.

Methods

apply_EI

Factors results by flexural rigidity after numerical integration of the bending moments for the displacements (rotations and translations).

__add__(o)[source]#

Overload addition of pycba.load.MemberResults objects to superimpose load effects.

Parameters:

o (MemberResults) – The other set of results for the member to be added to the current set

Raises:

ValueError – The results must be for the same member.

Returns:

An object containing the superimposed set of pycba.load.MemberResults

Return type:

MemberResults

apply_EI(EI)[source]#

Factors results by flexural rigidity after numerical integration of the bending moments for the displacements (rotations and translations).

Parameters:

EI (float) – The flexural rigidity

Return type:

None