Changeset 2482


Ignore:
Timestamp:
10/22/09 10:49:59 (15 years ago)
Author:
Mathieu Morlighem
Message:

minor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/utils/Mesh/timesteps.m

    r2481 r2482  
    1818edgex=max(md.x(index),[],2)-min(md.x(index),[],2);
    1919edgey=max(md.y(index),[],2)-min(md.y(index),[],2);
    20 vx=max(vx(index),[],2);
    21 vy=max(vy(index),[],2);
     20vx=max(abs(vx(index)),[],2);
     21vy=max(abs(vy(index)),[],2);
    2222
    2323maxtime=min(1/2*(edgex./vx+edgey./vy));
Note: See TracChangeset for help on using the changeset viewer.