Changeset 11168


Ignore:
Timestamp:
01/22/12 16:07:23 (13 years ago)
Author:
seroussi
Message:

no more numrifts in model fields

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/utils/Mesh/YamsCall.m

    r9849 r11168  
    5555       
    5656%Deal with rifts
    57 if md.rifts.numrifts,
     57if ~isnan(md.rifts.riftstruct),
    5858       
    5959        %we have the list of triangles that make up the rift. keep those triangles around during refinement.
    6060        triangles=[];
    61         for i=1:md.rifts.numrifts,
     61        for i=1:size(md.rifts.riftstruct,1),
    6262                triangles=[triangles md.rifts(i).segments(:,3)'];
    6363        end
Note: See TracChangeset for help on using the changeset viewer.