From 0ec841faf091aff78430c29ee8cfc54ef4caf204 Mon Sep 17 00:00:00 2001 From: jjenista Date: Wed, 6 Apr 2011 19:15:39 +0000 Subject: [PATCH] get debug statements out of single version --- .../SerialDelaunayRefinement.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Robust/src/Benchmarks/oooJava/DelaunayRefinement-orig-algo/SerialDelaunayRefinement.java b/Robust/src/Benchmarks/oooJava/DelaunayRefinement-orig-algo/SerialDelaunayRefinement.java index 71e32f0c..e74aa90a 100644 --- a/Robust/src/Benchmarks/oooJava/DelaunayRefinement-orig-algo/SerialDelaunayRefinement.java +++ b/Robust/src/Benchmarks/oooJava/DelaunayRefinement-orig-algo/SerialDelaunayRefinement.java @@ -95,7 +95,7 @@ public class SerialDelaunayRefinement { System.gc(); - int zzz = 0; + // int zzz = 0; // long id = Time.getNewTimeId(); @@ -110,13 +110,13 @@ public class SerialDelaunayRefinement { cavity.update(); - boolean printChange = true; //(zzz % 10 == 0); + // boolean printChange = true; //(zzz % 10 == 0); //remove old data - if( printChange ) { - System.out.println( "\n\n\nbad tri: "+mesh.getNodeData( bad_element ) ); +// if( printChange ) { +// System.out.println( "\n\n\nbad tri: "+mesh.getNodeData( bad_element ) ); // System.out.println( "\npre nodes: " ); - } + //} Node node; for (Iterator iterator = cavity.getPre().getNodes().iterator(); iterator.hasNext();) { node = (Node) iterator.next(); @@ -159,9 +159,9 @@ public class SerialDelaunayRefinement { if (mesh.containsNode(bad_element)) { worklist.push((Node) bad_element); } - } else { - //System.out.println( "\n\n\nthis tri no longer a concern: "+mesh.getNodeData( bad_element ) ); - } + }// else { + //System.out.println( "\n\n\nthis tri no longer a concern: "+mesh.getNodeData( bad_element ) ); + //} //++zzz; //System.out.println( "\n\ntris="+mesh.getNumNodes()+ -- 2.34.1