Changeset 16680


Ignore:
Timestamp:
11/08/13 10:54:00 (11 years ago)
Author:
seroussi
Message:

BUG: fixed solution from inputs for tiling

File:
1 edited

Legend:

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

    r16678 r16680  
    894894
    895895        IssmDouble   vx,vy;
     896        int          approximation;
    896897        int*         doflist = NULL;
    897898
     
    899900        int numnodes = element->GetNumberOfNodes();
    900901        int numdof   = numnodes*2;
     902        element->GetInputValue(&approximation,ApproximationEnum);
    901903
    902904        /*Fetch dof list and allocate solution vector*/
    903         element->GetDofList(&doflist,NoneApproximationEnum,GsetEnum);
     905        element->GetDofList(&doflist,approximation,GsetEnum);
    904906        IssmDouble* values = xNew<IssmDouble>(numdof);
    905907
Note: See TracChangeset for help on using the changeset viewer.