source: issm/oecreview/Archive/16554-17801/ISSM-17474-17475.diff@ 17802

Last change on this file since 17802 was 17802, checked in by Mathieu Morlighem, 11 years ago

Added archives

File size: 1.0 KB
  • ../trunk-jpl/src/m/boundaryconditions/SetMarineIceSheetBC.m

     
    5151md.mask.ice_levelset(find(vertexonicefront))=0;
    5252
    5353%First find segments that are not completely on the front
    54 if(md.mesh.dimension==2),
     54if ~strcmp(md.mesh.meshtype(),'3D'),
    5555        numbernodesfront=2;
    5656else
    5757        numbernodesfront=4;
  • ../trunk-jpl/src/m/boundaryconditions/SetMarineIceSheetBC.py

     
    5151        md.mask.ice_levelset[pos]=0
    5252
    5353        #First find segments that are not completely on the front
    54         if md.mesh.dimension==2:
     54        if not strcmp(md.mesh.meshtype(),'3D')
    5555                numbernodesfront=2
    5656        else:
    5757                numbernodesfront=4
Note: See TracBrowser for help on using the repository browser.