Package solvcon :: Package kerpak :: Module elaslin :: Class Material
[hide private]
[frames] | no frames]

Class Material

source code

object --+
         |
        Material
Known Subclasses:

Material properties. The constitutive relation needs not be symmetric.

Nested Classes [hide private]
  __metaclass__
Meta class for material class.
Instance Methods [hide private]
 
__init__(self, *args, **kw)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__getattr__(self, key) source code
 
__str__(self)
str(x)
source code
numpy.ndarray
get_rotmat(self)
Coordinate transformation matrix for three successive rotations through the Euler angles.
source code
numpy.ndarray
get_bondmat(self)
The Bond's matrix M as a shorthand of coordinate transformation for the 6-component stress vector.
source code
numpy.ndarray
get_jacos(self)
Obtain the Jacobian matrices for the solid.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]
 
_check_origstiffzero(cls, origstiff)
Check for zero in original stiffness matrix.
source code
Class Variables [hide private]
  _zeropoints_ = []
list of tuples for indices where the content should be zero.
  K = array([[[ 1., 0., 0., 0., 0., 0...
Instance Variables [hide private]
  al
alpha angle.
  be
beta angle.
  ga
gamma angle.
  origstiff
stiffness matrix in the crystal coordinate.
  rho
density
  stiff
stiffness matrix in the transformed global coordinate.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kw)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

_check_origstiffzero(cls, origstiff)
Class Method

source code 

Check for zero in original stiffness matrix.

Note: no assumed symmetry.

get_rotmat(self)

source code 

Coordinate transformation matrix for three successive rotations through the Euler angles.

Returns: numpy.ndarray
the transformation matrix.

get_bondmat(self)

source code 

The Bond's matrix M as a shorthand of coordinate transformation for the 6-component stress vector.

Returns: numpy.ndarray
the Bond's matrix.

get_jacos(self)

source code 

Obtain the Jacobian matrices for the solid.

Parameters:
  • K (numpy.ndarray) - the K matrix.
Returns: numpy.ndarray
the Jacobian matrices

Class Variable Details [hide private]

K

Value:
array([[[ 1.,  0.,  0.,  0.,  0.,  0.],
        [ 0.,  0.,  0.,  0.,  0.,  1.],
        [ 0.,  0.,  0.,  0.,  1.,  0.]],

       [[ 0.,  0.,  0.,  0.,  0.,  1.],
        [ 0.,  1.,  0.,  0.,  0.,  0.],
        [ 0.,  0.,  0.,  1.,  0.,  0.]],

...