Changeset 4392


Ignore:
Timestamp:
07/01/10 11:35:14 (15 years ago)
Author:
Mathieu Morlighem
Message:

fixed control drag 2d

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Elements/Tria.cpp

    r4386 r4392  
    11971197void  Tria::GradjDrag(Vec gradient){
    11981198
    1199 
    12001199        int i;
    12011200
     
    12931292
    12941293                /*Build alpha_complement_list: */
    1295                 if (drag_type==2) friction->GetAlphaComplement(&alpha_complement, gauss_l1l2l3,VxAverageEnum,VyAverageEnum);
     1294                if (drag_type==2) friction->GetAlphaComplement(&alpha_complement, gauss_l1l2l3,VxEnum,VyEnum);
    12961295                else alpha_complement=0;
    12971296       
     
    53145313
    53155314                /*Recover alpha_complement and drag: */
    5316                 if (drag_type==2) friction->GetAlphaComplement(&alpha_complement, gauss_l1l2l3,VxAverageEnum,VyAverageEnum);
     5315                if (drag_type==2) friction->GetAlphaComplement(&alpha_complement, gauss_l1l2l3,VxEnum,VyEnum);
    53175316                else alpha_complement=0;
    53185317                inputs->GetParameterValue(&drag, &gauss_l1l2l3[0],DragCoefficientEnum);
Note: See TracChangeset for help on using the changeset viewer.