Changeset 8159


Ignore:
Timestamp:
05/06/11 08:39:14 (14 years ago)
Author:
Mathieu Morlighem
Message:

Added some tolerances in area coordinate to avoid NaNs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/modules/InterpFromMeshToGridx/InterpFromMeshToGridx.cpp

    r8157 r8159  
    157157
    158158                                /*is the current point in the current element?*/
    159                                 if (area_1>=0 && area_2>=0 && area_3>=0){
     159                                if (area_1>-10e-12 && area_2>-10e-12 && area_3>-10e-12){
    160160
    161161                                        /*Yes ! compute the value on the point*/
Note: See TracChangeset for help on using the changeset viewer.