- Timestamp:
- 03/12/12 14:40:42 (13 years ago)
- 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 1028 1028 Triangle &t=triangles[i]; 1029 1029 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 } 1034 1036 } 1035 1037 } … … 1038 1040 /*Assign output pointers*/ 1039 1041 *pindex=index; 1040 *pnels= k;1042 *pnels=num; 1041 1043 } 1042 1044 /*}}}1*/
Note:
See TracChangeset
for help on using the changeset viewer.