Ignore:
Timestamp:
05/12/23 11:51:31 (14 months ago)
Author:
ymipsl
Message:

add comments
YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS2/trunk/extern/remap/src/meshutil.cpp

    r2500 r2502  
    6161  bary = exact_barycentre(dstPolygon.data(),na) ; 
    6262   
    63   // check signed area 
     63  // check signed area of polygons on gnomonic plan => if <0 then switch barycenter and invert vertex numbering  
    6464  double signedArea = 0 ; 
    6565  for(int n=0; n<na;n++) signedArea+= a_gno[n].x*a_gno[(n+1)%na].y-a_gno[(n+1)%na].x*a_gno[n].y ; 
Note: See TracChangeset for help on using the changeset viewer.