Changeset 112


Ignore:
Timestamp:
04/28/09 16:10:54 (16 years ago)
Author:
seroussi
Message:

better initialization for old_ug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/solutions/ice/diagnostic_core_nonlinear.m

    r71 r112  
    4141        if velocity_is_present
    4242                soln(1).u_g=velocity_param;
    43                 soln(1).u_g(4:6:gridset.gsize)=0; %no pressure in the velocity
    4443        else   
    4544                soln(1).u_g={};
     
    7675        if count>1,
    7776                inputs.oldvelocity=soln(count-1).u_g;
     77        else
     78                inputs.oldvelocity=soln(count).u_g;
    7879        end
    7980       
Note: See TracChangeset for help on using the changeset viewer.