Changeset 7967


Ignore:
Timestamp:
04/19/11 09:32:06 (14 years ago)
Author:
seroussi
Message:

mixed up hydrology and velocity boundary conditions in SetMariceIceSheet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/utils/BC/SetMarineIceSheetBC.m

    r7667 r7967  
    3838md.spcvelocity(pos,1:3)=1;
    3939
    40 md.spcwatercolumn=zeros(md.numberofgrids,2);
    41 pos=find(md.gridonboundary);
    42 md.spcwatercolumn(pos,1)=1;
    43 
    4440%Dirichlet Values
    4541if (length(md.vx_obs)==md.numberofgrids & length(md.vy_obs)==md.numberofgrids)
     
    4945        disp('      boundary conditions for diagnostic model: spc set as zero');
    5046end
     47
     48md.spcwatercolumn=zeros(md.numberofgrids,2);
     49pos=find(md.gridonboundary);
     50md.spcwatercolumn(pos,1)=1;
    5151
    5252%segment on Neumann (Ice Front)
Note: See TracChangeset for help on using the changeset viewer.