MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / material_tensor

Method material_tensor

python/pymesh/material.py:75–80  ·  view source on GitHub ↗

Return 4th order material tensor of size d x d x d x d evaluated at the origin.

(self)

Source from the content-addressed store, hash-verified

73
74 @property
75 def material_tensor(self):
76 """ Return 4th order material tensor of size d x d x d x d evaluated at
77 the origin.
78 """
79 coord = np.zeros(self.dim)
80 return self.get_material_tensor(coord)
81
82 @property
83 def dim(self):

Callers

nothing calls this directly

Calls 1

get_material_tensorMethod · 0.95

Tested by

no test coverage detected