chiark / gitweb /
better with more bendingness costs master
authorIan Jackson <ian@turbine>
Sat, 25 Oct 2008 00:16:31 +0000 (01:16 +0100)
committerIan Jackson <ian@turbine>
Sat, 25 Oct 2008 00:16:31 +0000 (01:16 +0100)
energy.c

index 09c54811520c45ca3a43a79464afa15ebe262619..3c1731a8e971c304c2d40bf222b741ad89011b4a 100644 (file)
--- a/energy.c
+++ b/energy.c
@@ -76,9 +76,9 @@ static const CostContribution costs[]= {
 #endif
 
 #if XBITS==6
-#define STOP_EPSILON 8e-4
-    COST(  3e4,   vertex_displacement_cost)
-    COST(  3e4,   vertex_edgewise_displ_cost)
+#define STOP_EPSILON 1e-4
+    COST(  3e5,   vertex_displacement_cost)
+    COST(  3e5,   vertex_edgewise_displ_cost)
     COST( 3e-2,  rim_proximity_cost)
     COST(  1e4,  rim_twist_cost)
     COST(  1e12,   noncircular_rim_cost)