Changeset 435


Ignore:
Timestamp:
05/15/09 07:07:09 (16 years ago)
Author:
Mathieu Morlighem
Message:

oops...

File:
1 edited

Legend:

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

    r421 r435  
    2525        gridinsideicefront=ContourToMesh(md.elements,md.x,md.y,expread(icefrontfile,1),'node',2);
    2626        gridonicefront=double(md.gridonboundary & gridinsideicefront);
    27 
    2827else
    2928        %Guess where the ice front is
    30         pos=find(md.gridonboundary & md.gridoniceshelf);
    31         md.gridondirichlet_diag=zeros(md.numberofgrids,1);
    32         md.gridondirichlet_diag(pos)=1;
     29        gridonicefront=double(md.gridonboundary & md.gridoniceshelf);
    3330end
    3431pos=find(md.gridonboundary & ~gridonicefront);
Note: See TracChangeset for help on using the changeset viewer.