Ignore:
Timestamp:
03/12/12 14:40:42 (13 years ago)
Author:
cborstad
Message:

merged revisions 11428:11680 from trunk-jpl into branches/trunk-jpl-damage

Location:
issm/branches/trunk-jpl-damage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/branches/trunk-jpl-damage

  • issm/branches/trunk-jpl-damage/src/c/objects/Bamg/Mesh.cpp

    r11093 r11684  
    10281028                                Triangle &t=triangles[i];
    10291029                                if (t.det>0 && !(t.Hidden(0)||t.Hidden(1) || t.Hidden(2) )){
    1030                                         index[num*3+0]=GetId(t[0])+1; //back to M indexing
    1031                                         index[num*3+1]=GetId(t[1])+1; //back to M indexing
    1032                                         index[num*3+2]=GetId(t[2])+1; //back to M indexing
    1033                                         num=num+1;
     1030                                        if(t.Anisotropy()<2 & t.Length()<1.e+5){
     1031                                                index[num*3+0]=GetId(t[0])+1; //back to M indexing
     1032                                                index[num*3+1]=GetId(t[1])+1; //back to M indexing
     1033                                                index[num*3+2]=GetId(t[2])+1; //back to M indexing
     1034                                                num=num+1;
     1035                                        }
    10341036                                }
    10351037                        }
     
    10381040                /*Assign output pointers*/
    10391041                *pindex=index;
    1040                 *pnels=k;
     1042                *pnels=num;
    10411043        }
    10421044        /*}}}1*/
Note: See TracChangeset for help on using the changeset viewer.