Changeset 10183
- Timestamp:
- 10/12/11 15:55:32 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/model/model.m
r9981 r10183 274 274 if isfield(structmd,'diagnostic_ref'), md.diagnostic.referential=structmd.diagnostic_ref; end 275 275 276 disp('-------------- file: model.m line: 276'); 276 277 %Field changes 277 278 if (isfield(structmd,'type') & ischar(structmd.type)), … … 282 283 md.verbose=verbose; 283 284 end 285 disp('-------------- file: model.m line: 285'); 284 286 if isfield(structmd,'spcvelocity'), 285 287 md.diagnostic.spcvx=NaN*ones(md.mesh.numberofvertices,1); … … 302 304 pos=find(~isnan(structmd.spcvz)); md.diagnostic.spcvz(pos)=structmd.spcvz(pos); 303 305 end 304 if ismember(structmd.pressureload(end,end),[118 119 120]),306 if ~isempty(structmd.pressureload) & ismember(structmd.pressureload(end,end),[118 119 120]), 305 307 pos=find(structmd.pressureload(:,end)==120); md.diagnostic.icefront(pos,:)=0; 306 308 pos=find(structmd.pressureload(:,end)==118); md.diagnostic.icefront(pos,:)=1;
Note:
See TracChangeset
for help on using the changeset viewer.