Changeset 631
- Timestamp:
- 05/28/09 15:05:08 (16 years ago)
- Location:
- issm/trunk/src/m/classes/public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/ismodelselfconsistent.m
r465 r631 265 265 if strcmp(md.analysis_type,'parameters') 266 266 267 %PACKAGE 268 if ~strcmpi(packagem,'ice'), 269 disp('parameter solution only supported by package ice yet'); 270 bool=0;return; 271 end 272 267 273 %OUTPUT 268 274 if ~iscell(md.parameteroutput) -
issm/trunk/src/m/classes/public/mechanicalproperties.m
r629 r631 68 68 nu(location)=B_bar(location); 69 69 clear B_bar location second_inv power 70 mean(nu)71 70 72 71 %compute stress … … 104 103 stress.principalaxis1=directionsstress(:,3:4); 105 104 stress.effectivevalue=1/sqrt(2)*sqrt(stress.xx.^2+stress.yy.^2+2*stress.xy.^2); 105 md.stress=stress; 106 106 107 strainrate=struct('xx',[],'yy',[],'xy',[],'principalvalue1',[],'principalaxis1',[],'principalvalue2',[],'principalaxis2',[],'effectivevalue',[]); 107 108 strainrate.xx=ux; … … 113 114 strainrate.principalaxis1=directionsstrain(:,3:4); 114 115 strainrate.effectivevalue=1/sqrt(2)*sqrt(strainrate.xx.^2+strainrate.yy.^2+2*strainrate.xy.^2); 115 md.stress=stress;116 116 md.strainrate=strainrate;
Note:
See TracChangeset
for help on using the changeset viewer.