Skip to content

Commit

Permalink
TO REVERT after merge of PR#234: Add check over bdy faces in get_shel…
Browse files Browse the repository at this point in the history
…lEdgeTag.
  • Loading branch information
Algiane committed Dec 19, 2023
1 parent d2bf05b commit 4d7e06e
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->tag[i] & MG_BDY ) {
*tag |= pxt->tag[i];
if ((pxt->ftag[MMG5_ifar[i][0]] & MG_BDY) || (pxt->ftag[MMG5_ifar[i][1]] & MG_BDY)) {
*tag |= (pxt->tag[i] | MG_BDY);
*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->tag[ia] & MG_BDY ) {
*tag |= pxt->tag[ia];
if ((pxt->ftag[MMG5_ifar[ia][0]] & MG_BDY) || (pxt->ftag[MMG5_ifar[ia][1]] & MG_BDY)) {
*tag |= (pxt->tag[ia] | MG_BDY);
*ref = pxt->edg[ia];
return 1;
}
Expand Down

0 comments on commit 4d7e06e

Please sign in to comment.