Changeset 2482
- Timestamp:
- 10/22/09 10:49:59 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/utils/Mesh/timesteps.m
r2481 r2482 18 18 edgex=max(md.x(index),[],2)-min(md.x(index),[],2); 19 19 edgey=max(md.y(index),[],2)-min(md.y(index),[],2); 20 vx=max( vx(index),[],2);21 vy=max( vy(index),[],2);20 vx=max(abs(vx(index)),[],2); 21 vy=max(abs(vy(index)),[],2); 22 22 23 23 maxtime=min(1/2*(edgex./vx+edgey./vy));
Note:
See TracChangeset
for help on using the changeset viewer.