From 7477de61ec6980b0f96e13f1f083909a6f9e9361 Mon Sep 17 00:00:00 2001
From: Tristan Carrier Baudouin <tristan.carrier@uclouvain.be>
Date: Fri, 13 Sep 2013 08:16:05 +0000
Subject: [PATCH] code necessary to find all potential hexahedra

---
 Mesh/yamakawa.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Mesh/yamakawa.cpp b/Mesh/yamakawa.cpp
index 10621c0307..904de5e547 100644
--- a/Mesh/yamakawa.cpp
+++ b/Mesh/yamakawa.cpp
@@ -463,8 +463,8 @@ void Recombinator::pattern2(GRegion* gr){
 
   for(i=0;i<gr->getNumMeshElements();i++){
     element = gr->getMeshElement(i);
-	//for(index1=0;index1<4;index1++){
-	//index2 = (index1+1)%4;
+	//for(index1=0;index1<3;index1++){
+	//for(index2=index1+1;index2<4;index2++){
 	diagonal(element,index1,index2);
     two_others(index1,index2,index3,index4);
 
@@ -499,6 +499,7 @@ void Recombinator::pattern2(GRegion* gr){
       }
     }
 	//}
+	//}
   }
 }
 
-- 
GitLab