Changeset 17818


Ignore:
Timestamp:
04/22/14 19:38:22 (11 years ago)
Author:
cborstad
Message:

CHG: adding a print statement to remind user that damage-dependent properties are being calculated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/mech/mechanicalproperties.py

    r17622 r17818  
    7676                nu[location]=10^18
    7777        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,)
    7980                location=npy.nonzero(second_inv)
    8081                nu[location]=Zinv[location]*B_bar[location]/npy.power(second_inv[location],power[location])
Note: See TracChangeset for help on using the changeset viewer.