Changeset 339

Show
Ignore:
Timestamp:
03/26/08 19:30:09 (8 months ago)
Author:
powell
Message:

Better algorithm suggestion for triangle removal.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/matml/src/ternary/ternary.c

    r334 r339  
    136136#endif 
    137137      /* XY-projection area test (only works for uniform triangles) */ 
     138      /* Better test: is free energy at centroid above or below the facet? */ 
    138139      if (fabs ((x1-x0)*(y2-y0) - (x2-x0)*(y1-y0)) <= 1.1/loop_max/loop_max) 
    139140        {