diff --git a/Mesh/yamakawa.cpp b/Mesh/yamakawa.cpp index 10621c0307085608b3aeb99785cf90519fa6f26d..904de5e547c1d8658554bb5d525e43752d02e5df 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){ } } //} + //} } }