Changeset 19180


Ignore:
Timestamp:
03/06/15 10:04:56 (10 years ago)
Author:
Eric.Larour
Message:

CHG: added 3d surface case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/mesh/rifts/meshprocessrifts.m

    r17558 r19180  
    6363pos=find(aires<0);
    6464md.mesh.elements(pos,:)=[md.mesh.elements(pos,2) md.mesh.elements(pos,1) md.mesh.elements(pos,3)];
     65
     66%case of 3D surface mesh:
     67if strcmpi(class(md.mesh),'mesh3dsurface'),
     68        md.mesh.z=md.mesh.x; md.mesh.z(:)=0;
     69end
Note: See TracChangeset for help on using the changeset viewer.