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

Method strain_to_stress

python/pymesh/material.py:45–48  ·  view source on GitHub ↗
(self, strain, coord=None)

Source from the content-addressed store, hash-verified

43 self.raw_material = raw_material
44
45 def strain_to_stress(self, strain, coord=None):
46 if coord is None:
47 coord = np.zeros(self.dim)
48 return self.raw_material.strain_to_stress(strain, coord)
49
50 def get_material_tensor(self, coord):
51 """ Return 4th order material tensor of size d x d x d x d evaluated at

Callers 2

Calls

no outgoing calls

Tested by 2