Changeset 27690


Ignore:
Timestamp:
04/11/23 12:37:07 (2 years ago)
Author:
Mathieu Morlighem
Message:

BUG: fix roundoff error for when points are along edges

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/InterpFromMesh2dx/InterpFromMesh2dxt.cpp

    r22731 r27690  
    7676
    7777                                /*is the current point in the current element?*/
    78                                 if (area_1>=0 && area_2>=0 && area_3>=0){
     78                                if (area_1>=-1.e-8 && area_2>=-1.e-8 && area_3>=-1.e-8){
    7979
    8080                                        /*Yes ! compute the value on the point*/
Note: See TracChangeset for help on using the changeset viewer.