Changeset 1097


Ignore:
Timestamp:
06/25/09 11:17:34 (16 years ago)
Author:
Mathieu Morlighem
Message:

dh/dt= - div(Hu)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/public/thicknessevolution.m

    r27 r1097  
    44%   This routine compute the new thickness of a model after a time step
    55%   according to the following formula:
    6 %   dh/dt=div(Hu)
     6%   dh/dt=-div(Hu)
    77%
    88%   Usage:
     
    4040%compute dhdt=div(Hu)
    4141Hvx=H.*vx; Hvy=H.*vy;
    42 dhdt=sum(Hvx(index).*alpha,2)+sum(Hvy(index).*beta,2);
     42dhdt=-sum(Hvx(index).*alpha,2)-sum(Hvy(index).*beta,2);
Note: See TracChangeset for help on using the changeset viewer.