source: issm/oecreview/Archive/11767-11785/ISSM-11784-11785.diff@ 11991

Last change on this file since 11991 was 11991, checked in by Eric.Larour, 13 years ago

oecreview from 11518 to present

File size: 773 bytes
  • proj/ice/larour/issm-uci-clean/trunk-jpl/src/m/model/plot/plot_tensor.m

     
    1616%Figure out tensor type:
    1717%FIXME does not work anymore
    1818if strncmpi(type,'strain',6),
    19         tensor=md.strainrate;
     19        tensor=md.results.strainrate;
    2020elseif strncmpi(type,'stress',6),
    21         tensor=md.stress;
     21        tensor=md.results.stress;
    2222elseif strncmpi(type,'deviatoricstress',16),
    23         tensor=md.deviatoricstress;
     23        tensor=md.results.deviatoricstress;
    2424else
    2525        error('plot_tensor error message: unsupported type of tensor');
    2626end
Note: See TracBrowser for help on using the repository browser.