Source code for mechelastic.tests.ductile
#!/usr/bin/env python
[docs]def ductile_test(ratio):
"""Test for ductility."""
if ratio > 1.75:
return "ductile"
else:
return "brittle"
#!/usr/bin/env python
[docs]def ductile_test(ratio):
"""Test for ductility."""
if ratio > 1.75:
return "ductile"
else:
return "brittle"