Changeset 2274
- Timestamp:
- 09/23/09 09:38:35 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/modelextract.m
r2093 r2274 233 233 md2.pressureload(:,4)=Pgrid(md1.pressureload(:,4)); 234 234 end 235 md2.pressureload=md2.pressureload(find(md2.pressureload(:,1) & md2.pressureload(:,2) ),:);235 md2.pressureload=md2.pressureload(find(md2.pressureload(:,1) & md2.pressureload(:,2) & md2.pressureload(:,end)),:); 236 236 end 237 237 if ~isnan(md2.pressureload_stokes) … … 243 243 md2.pressureload_stokes(:,4)=Pgrid(md1.pressureload_stokes(:,4)); 244 244 end 245 md2.pressureload_stokes=md2.pressureload_stokes(find(md2.pressureload_stokes(:,1) & md2.pressureload_stokes(:,2) ),:);245 md2.pressureload_stokes=md2.pressureload_stokes(find(md2.pressureload_stokes(:,1) & md2.pressureload_stokes(:,2) & md2.pressureload_stokes(:,end)),:); 246 246 end 247 247
Note:
See TracChangeset
for help on using the changeset viewer.