sym_tensor

class granoo3.lib.sym_tensor

Bases: Boost.Python.instance

a symmetric tensor in the 3x3 matrix form, that accepts changing frame operation

Attributes Summary

xx

xx component

xy

xy component

xz

xz component

yx

yx component

yy

yy component

yz

yz component

zx

zx component

zy

zy component

zz

zz component

Methods Summary

clear(arg1)

clear the symmetric tensor, all components will be zero

eigen_value(arg1, arg2, arg3)

get the eigen value of the symmetric tensor

get_xx(arg1)

get the xx component value

get_xy(arg1)

get the xy component value

get_xz(arg1)

get the xz component value

get_yx(arg1)

get the yx component value

get_yy(arg1)

get the yy component value

get_yz(arg1)

get the yz component value

get_zx(arg1)

get the zx component value

get_zy(arg1)

get the zy component value

get_zz(arg1)

get the zz component value

is_nan(arg1)

check if the symmetric tensor contains NaN

is_null(arg1)

check if the symmetric tensor is null (all components = 0)

trace(arg1)

get the trace of the symmetric tensor

Attributes Documentation

xx

xx component

xy

xy component

xz

xz component

yx

yx component

yy

yy component

yz

yz component

zx

zx component

zy

zy component

zz

zz component

Methods Documentation

clear((sym_tensor)arg1) None[STATIC]

clear the symmetric tensor, all components will be zero

eigen_value((sym_tensor)arg1, (vector)arg2, (quaternion)arg3) None[STATIC]

get the eigen value of the symmetric tensor

get_xx((sym_tensor)arg1) float[STATIC]

get the xx component value

get_xy((sym_tensor)arg1) float[STATIC]

get the xy component value

get_xz((sym_tensor)arg1) float[STATIC]

get the xz component value

get_yx((sym_tensor)arg1) float[STATIC]

get the yx component value

get_yy((sym_tensor)arg1) float[STATIC]

get the yy component value

get_yz((sym_tensor)arg1) float[STATIC]

get the yz component value

get_zx((sym_tensor)arg1) float[STATIC]

get the zx component value

get_zy((sym_tensor)arg1) float[STATIC]

get the zy component value

get_zz((sym_tensor)arg1) float[STATIC]

get the zz component value

is_nan((sym_tensor)arg1) bool[STATIC]

check if the symmetric tensor contains NaN

is_null((sym_tensor)arg1) bool[STATIC]

check if the symmetric tensor is null (all components = 0)

trace((sym_tensor)arg1) float[STATIC]

get the trace of the symmetric tensor