Skip to content

Commit

Permalink
Merge pull request #234 from coprigent/feature/fix_coquilface2
Browse files Browse the repository at this point in the history
Fix CoquilFace warning
  • Loading branch information
Algiane authored Jan 19, 2024
2 parents cc54b41 + fb53af8 commit 64e4ce9
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/mmg3d/colver_3d.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,10 @@ int MMG3D_get_shellEdgeTag_oneDir(MMG5_pMesh mesh,MMG5_int start, MMG5_int na,
*tag |= pxt->tag[i];
*filled = 1;
return adj;
} else 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,10 +448,15 @@ int MMG3D_get_shellEdgeTag(MMG5_pMesh mesh,MMG5_int start, int8_t ia,int16_t *t

if ( pt->xt ) {
pxt = &mesh->xtetra[pt->xt];
*ref = pxt->edg[ia];
if ( pxt->tag[ia] & MG_BDY ) {
*tag |= pxt->tag[ia];
*ref = pxt->edg[ia];
return 1;
*tag |= pxt->tag[ia];
*ref = pxt->edg[ia];
return 1;
} else 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 64e4ce9

Please sign in to comment.