Changeset 10295
- Timestamp:
- 10/25/11 13:26:58 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/model/regionaltransient2d.m
r10129 r10295 37 37 38 38 %remesh 39 %md2=bamg(md2,'hmax',hmax,'hmin',hmin,'field',[md2.inversion.vel_obs md2.geometry.thickness],'splitcorner',1,'KeepVertices',0);40 39 md2=bamg(mde,'hmin',hmin,'hmax',hmax,'field',[mde.inversion.vel_obs mde.geometry.thickness],'splitcorner',1,'KeepVertices',0,'err',err); 41 40 md2=setmask(md2,'',''); … … 51 50 fieldsize=size(field); 52 51 52 %copy field, interpolated to new mesh 53 53 if isobject(field), %recursive call 54 54 object_fields=fields(md1.(model_fields{i})); … … 92 92 end 93 93 94 %Read transient velocities looping through only the populated times 94 95 spcx=[]; 95 96 spcy=[]; … … 109 110 end 110 111 112 %As long as there are recorded time steps, spc the boundaries with velocities 111 113 if nsteps > 0 112 114 md2.diagnostic.spcvx=md2.diagnostic.spcvx*ones(1,size(spcx,2)); … … 121 123 end 122 124 123 %Diagnostic 125 %Diagnostic. Don't spc the icefront vertices. 124 126 if ~isnan(md2.diagnostic.icefront) 125 127 md1s=modelextract(md1,area);
Note:
See TracChangeset
for help on using the changeset viewer.