Ignore:
Timestamp:
04/08/14 21:13:16 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: replacing some meshtype by meshdimension

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/boundaryconditions/SetMarineIceSheetBC.m

    r17686 r17687  
    5252
    5353%First find segments that are not completely on the front
    54 if ~strcmp(md.mesh.domaintype(),'3D'),
     54if strcmp(elementtype(md.mesh),'Penta'),
     55        numbernodesfront=4;
     56elseif strcmp(elementtype(md.mesh),'Tria'),
    5557        numbernodesfront=2;
    56 else 
    57         numbernodesfront=4;
     58else
     59        error('mesh type not supported yet');
    5860end
    5961segmentsfront=md.mask.ice_levelset(md.mesh.segments(:,1:numbernodesfront))==0;
Note: See TracChangeset for help on using the changeset viewer.