Standard and voigt subscripts: the cij.util.voigt module

Hashable representation of standard and voigt subscripts.

cij.util.voigt.C_

alias of ModulusRepresentation

cij.util.voigt.E_

alias of StrainRepresentation

class cij.util.voigt.ElasticModulusCalculationType(value)

Bases: Enum

An enumeration.

LONGITUDINAL = 1
OFF_DIAGONAL = 2
SHEAR = 3
class cij.util.voigt.ModulusRepresentation(i, j)

Bases: NamedTuple

property calc_type: ElasticModulusCalculationType
classmethod create(*args)
classmethod from_standard(i, j, k, l)
classmethod from_voigt(i, j)
i: StrainRepresentation

Alias for field number 0

property is_longitudinal: bool
property is_off_diagonal: bool
property is_shear: bool
j: StrainRepresentation

Alias for field number 1

property multiplicity: int
property s
property standard
property v
property voigt
class cij.util.voigt.StrainRepresentation(i, j)

Bases: NamedTuple

classmethod create(i, j=None)
classmethod from_standard(i, j)
classmethod from_voigt(i)
i: int

Alias for field number 0

j: int

Alias for field number 1

property s
property standard
property v
property voigt