Ignore:
Timestamp:
11/26/15 10:43:58 (9 years ago)
Author:
Eric.Larour
Message:

CHG: issues fixed with counters in for loops not being declared properly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/parameterization/setmask.js

    r19817 r19823  
    5959        vertexonfloatingice=NewArrayFill(md.mesh.numberofvertices,0);
    6060        vertexongroundedice=NewArrayFill(md.mesh.numberofvertices,0);
    61         pos=ArrayFind(elementongroundedice,1); for (i=0;i<pos.length;i++)for(var j=0;j<3;j++) vertexongroundedice[md.mesh.elements[i,j]-1]=1;
    62         pos=ArrayFind(vertexongroundedice,0); for (i=0;i<pos.length;i++)vertexonfloatingice[i]=1;
     61        pos=ArrayFind(elementongroundedice,1); for (var i=0;i<pos.length;i++)for(var j=0;j<3;j++) vertexongroundedice[md.mesh.elements[i,j]-1]=1;
     62        pos=ArrayFind(vertexongroundedice,0); for (var i=0;i<pos.length;i++)vertexonfloatingice[i]=1;
    6363
    6464        //level sets
Note: See TracChangeset for help on using the changeset viewer.