Changeset 7335


Ignore:
Timestamp:
02/04/11 09:48:26 (14 years ago)
Author:
seroussi
Message:

fixed SetMarineIceSheetBC for the new geography (do not use gridoniceshelf)

File:
1 edited

Legend:

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

    r6306 r7335  
    2727else
    2828        %Guess where the ice front is
    29         gridonicefront=double(md.gridonboundary & md.gridoniceshelf);
     29        gridoniceshelf=zeros(md.numberofgrids,1);
     30        gridoniceshelf(md.elements(find(md.elementoniceshelf),:))=1;
     31        gridonicefront=double(md.gridonboundary & gridoniceshelf);
    3032end
    3133pos=find(md.gridonboundary & ~gridonicefront);
Note: See TracChangeset for help on using the changeset viewer.