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
RevLine 
[11991]1Index: /proj/ice/larour/issm-uci-clean/trunk-jpl/src/m/model/plot/plot_tensor.m
2===================================================================
3--- /proj/ice/larour/issm-uci-clean/trunk-jpl/src/m/model/plot/plot_tensor.m (revision 11784)
4+++ /proj/ice/larour/issm-uci-clean/trunk-jpl/src/m/model/plot/plot_tensor.m (revision 11785)
5@@ -16,11 +16,11 @@
6 %Figure out tensor type:
7 %FIXME does not work anymore
8 if strncmpi(type,'strain',6),
9- tensor=md.strainrate;
10+ tensor=md.results.strainrate;
11 elseif strncmpi(type,'stress',6),
12- tensor=md.stress;
13+ tensor=md.results.stress;
14 elseif strncmpi(type,'deviatoricstress',16),
15- tensor=md.deviatoricstress;
16+ tensor=md.results.deviatoricstress;
17 else
18 error('plot_tensor error message: unsupported type of tensor');
19 end
Note: See TracBrowser for help on using the repository browser.