Changeset 20906


Ignore:
Timestamp:
07/13/16 16:15:53 (9 years ago)
Author:
Eric.Larour
Message:

CHG: bad initialization of loadingforce.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/boundaryconditions/SetIceShelfBC.js

    r19837 r20906  
    3333        md.stressbalance.referential=Create2DArray(md.mesh.numberofvertices,6);
    3434        for(var i=0;i<md.mesh.numberofvertices;i++)for(var j=0;j<6;j++)md.stressbalance.referential[i][j]=NaN;
    35         md.stressbalance.loadingforce=NewArrayFill(md.mesh.numberofvertices,0);
     35        md.stressbalance.loadingforce=Create2DArray(md.mesh.numberofvertices,3);
     36        for(var i=0;i<md.mesh.numberofvertices;i++)for(var j=0;j<3;j++)md.stressbalance.loadingforce[i][j]=0;
    3637
    3738        //Ice front position:
Note: See TracChangeset for help on using the changeset viewer.