Changeset 17818
- Timestamp:
- 04/22/14 19:38:22 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/mech/mechanicalproperties.py
r17622 r17818 76 76 nu[location]=10^18 77 77 elif 'matdamageice' in md.materials.__module__: 78 Zinv=npy.dot(md.materials.rheology_Z[index-1],summation/3.).reshape(-1,) 78 print 'computing damage-dependent properties!' 79 Zinv=npy.dot(1-md.damage.D[index-1],summation/3.).reshape(-1,) 79 80 location=npy.nonzero(second_inv) 80 81 nu[location]=Zinv[location]*B_bar[location]/npy.power(second_inv[location],power[location])
Note:
See TracChangeset
for help on using the changeset viewer.