pycba.load.LoadCNL#

class LoadCNL(Va: float, Ma: float, Vb: float, Mb: float)[source]#

Bases: tuple

A typed namedtuple for Consistent Nodal Loads

Create new instance of LoadCNL(Va, Ma, Vb, Mb)

Methods

count

Return number of occurrences of value.

index

Return first index of value.

Attributes

Ma

Alias for field number 1

Mb

Alias for field number 3

Va

Alias for field number 0

Vb

Alias for field number 2

Va: float#

Alias for field number 0

Ma: float#

Alias for field number 1

Vb: float#

Alias for field number 2

Mb: float#

Alias for field number 3

__add__(value, /)#

Return self+value.

__mul__(value, /)#

Return self*value.

count(value, /)#

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)#

Return first index of value.

Raises ValueError if the value is not present.