Changeset 17859


Ignore:
Timestamp:
04/28/14 14:12:55 (11 years ago)
Author:
seroussi
Message:

BUG: fixed contact condition for FS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Elements/Tria.cpp

    r17858 r17859  
    14501450        /*Intermediaries*/
    14511451        IssmDouble* xyz_list = NULL;
     1452        IssmDouble* xyz_list_base = NULL;
    14521453        IssmDouble  pressure,water_pressure,sigma_nn,viscosity,bed,base;
    14531454        IssmDouble  bed_normal[2];
     
    14581459        /* Get node coordinates and dof list: */
    14591460        GetVerticesCoordinates(&xyz_list);
     1461        GetVerticesCoordinatesTop(&xyz_list_base);
    14601462
    14611463        /*Retrieve all inputs we will be needing: */
     
    14841486
    14851487                        /*Get normal vector to the bed */
    1486                         NormalBase(&bed_normal[0],xyz_list);
     1488                        NormalBase(&bed_normal[0],xyz_list_base);
    14871489
    14881490                        /*basalforce*/
     
    15181520        delete gauss;
    15191521        xDelete<IssmDouble>(xyz_list);
     1522        xDelete<IssmDouble>(xyz_list_base);
    15201523}
    15211524/*}}}*/
Note: See TracChangeset for help on using the changeset viewer.