Skip to content
Snippets Groups Projects
Commit 5e49857c authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix copy/paste bug in getWedge

parent 00b8a435
No related branches found
No related tags found
No related merge requests found
...@@ -688,9 +688,6 @@ static int getWedge(BoundaryLayerColumns* _columns, MVertex *v1, MVertex *v2, ...@@ -688,9 +688,6 @@ static int getWedge(BoundaryLayerColumns* _columns, MVertex *v1, MVertex *v2,
if (c2._joint.size())NW2++; if (c2._joint.size())NW2++;
} }
std::map<int,int> one2two; std::map<int,int> one2two;
for (int i=0;i<NW1;i++){ for (int i=0;i<NW1;i++){
const BoundaryLayerData & c1 = _columns->getColumn(v1,i); const BoundaryLayerData & c1 = _columns->getColumn(v1,i);
...@@ -737,7 +734,7 @@ static int getWedge(BoundaryLayerColumns* _columns, MVertex *v1, MVertex *v2, ...@@ -737,7 +734,7 @@ static int getWedge(BoundaryLayerColumns* _columns, MVertex *v1, MVertex *v2,
for (int i=0;i<NW2;i++){ for (int i=0;i<NW2;i++){
for (int j=i+1;j<NW2;j++){ for (int j=i+1;j<NW2;j++){
if ((vert2Start == i && vert2End == j) || if ((vert2Start == i && vert2End == j) ||
(vert2Start == i && vert2End == j)) (vert2Start == j && vert2End == i))
{ {
INDEX2 = count; INDEX2 = count;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment