Skip to content

Commit

Permalink
Revert "TO REVERT after merge of PR#234: Add check over bdy faces in …
Browse files Browse the repository at this point in the history
…get_shellEdgeTag."

This reverts commit 4d7e06e.
  • Loading branch information
Algiane committed Apr 5, 2024
1 parent 4d7e06e commit b86b88f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/mmg3d/colver_3d.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ int MMG3D_get_shellEdgeTag_oneDir(MMG5_pMesh mesh,MMG5_int start, MMG5_int na,
if ( pt->xt ) {
pxt = &mesh->xtetra[pt->xt];
*ref = pxt->edg[i];
if ((pxt->ftag[MMG5_ifar[i][0]] & MG_BDY) || (pxt->ftag[MMG5_ifar[i][1]] & MG_BDY)) {
*tag |= (pxt->tag[i] | MG_BDY);
if ( pxt->tag[i] & MG_BDY ) {
*tag |= pxt->tag[i];
*filled = 1;
return adj;
}
Expand Down Expand Up @@ -444,8 +444,8 @@ int MMG3D_get_shellEdgeTag(MMG5_pMesh mesh,MMG5_int start, int8_t ia,int16_t *t

if ( pt->xt ) {
pxt = &mesh->xtetra[pt->xt];
if ((pxt->ftag[MMG5_ifar[ia][0]] & MG_BDY) || (pxt->ftag[MMG5_ifar[ia][1]] & MG_BDY)) {
*tag |= (pxt->tag[ia] | MG_BDY);
if ( pxt->tag[ia] & MG_BDY ) {
*tag |= pxt->tag[ia];
*ref = pxt->edg[ia];
return 1;
}
Expand Down

0 comments on commit b86b88f

Please sign in to comment.