From c086a1edb319e3468030c55db63190babd2220c6 Mon Sep 17 00:00:00 2001 From: Tristan Carrier Baudouin <tristan.carrier@uclouvain.be> Date: Fri, 13 Sep 2013 07:58:22 +0000 Subject: [PATCH] code necessary to find all potential hexahedra --- Mesh/yamakawa.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Mesh/yamakawa.cpp b/Mesh/yamakawa.cpp index d67a4a129a..10621c0307 100644 --- a/Mesh/yamakawa.cpp +++ b/Mesh/yamakawa.cpp @@ -397,6 +397,7 @@ void Recombinator::pattern1(GRegion* gr){ for(i=0;i<gr->getNumMeshElements();i++){ element = gr->getMeshElement(i); + //for(index=0;index<4;index++){ max_scaled_jacobian(element,index); a = element->getVertex(index); @@ -446,6 +447,7 @@ void Recombinator::pattern1(GRegion* gr){ } } } + //} } } @@ -461,7 +463,9 @@ void Recombinator::pattern2(GRegion* gr){ for(i=0;i<gr->getNumMeshElements();i++){ element = gr->getMeshElement(i); - diagonal(element,index1,index2); + //for(index1=0;index1<4;index1++){ + //index2 = (index1+1)%4; + diagonal(element,index1,index2); two_others(index1,index2,index3,index4); b = element->getVertex(index1); @@ -494,6 +498,7 @@ void Recombinator::pattern2(GRegion* gr){ } } } + //} } } -- GitLab