Changeset 21448


Ignore:
Timestamp:
12/21/16 13:38:02 (8 years ago)
Author:
Mathieu Morlighem
Message:

BUG: friction was always in 1D for SSA...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/analyses/StressbalanceAnalysis.cpp

    r21403 r21448  
    13011301
    13021302        /*build friction object, used later on: */
    1303         Friction* friction=new Friction(element,1);
     1303        Friction* friction=new Friction(element,dim);
    13041304
    13051305        /*Recover portion of element that is grounded*/
     
    23302330
    23312331        /*build friction object, used later on: */
    2332         Friction* friction=new Friction(element,2);
     2332        Friction* friction=new Friction(element,dim==3?2:1);
    23332333
    23342334        /*Recover portion of element that is grounded*/
Note: See TracChangeset for help on using the changeset viewer.