Changeset 2093


Ignore:
Timestamp:
09/02/09 15:42:21 (15 years ago)
Author:
Mathieu Morlighem
Message:

oops... md do not exist, use md2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/public/modelextract.m

    r2083 r2093  
    177177        %recreate segments
    178178        if strcmpi(md1.type,'2d')
    179                 md.nodeconnectivity=NodeConnectivity(md.elements,md.numberofgrids);
    180                 md.elementconnectivity=ElementConnectivity(md.elements,md.nodeconnectivity);
     179                md2.nodeconnectivity=NodeConnectivity(md2.elements,md2.numberofgrids);
     180                md2.elementconnectivity=ElementConnectivity(md2.elements,md2.nodeconnectivity);
    181181                md2.segments=findsegments(md2);
    182182                md2.gridonboundary=zeros(numberofgrids2,1); md2.gridonboundary(md2.segments(:,1:2))=1;
Note: See TracChangeset for help on using the changeset viewer.