Skip to content

Commit

Permalink
Add Algiane modif on parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
laetitia-m committed Oct 16, 2024
2 parents 0c59f8e + e694b69 commit 1bb1bfe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/ls_pmmg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,7 @@ void PMMG_split1_sort(MMG5_pMesh mesh,MMG5_int k,int ifac,uint8_t tau[4],
/* Tetra #0 created by MMG5_split1 */
tetra_sorted[0] = k;
/* Except for the following: treta #1 created by MMG5_split1 */
if ( (ifac==tau[0]) ) tetra_sorted[0] = ne_tmp;
if ( ifac==tau[0] ) tetra_sorted[0] = ne_tmp;

/* Store index of the node with highest coordinates in node_sorted[0]
and sort the vertices by increasing order in v_t0 */
Expand Down
4 changes: 2 additions & 2 deletions src/overlap_pmmg.c
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ int PMMG_create_overlap(PMMG_pParMesh parmesh, MPI_Comm comm) {
/* If the tuple (Pcolor_out-Pcolor_ter) is the right one */
if ( (color_ter == dataPBDY_AlreadyAdded[5*r]) && (color_out == dataPBDY_AlreadyAdded[5*r+1]) ) {
/* And the point is at the same position in external comm */
if ((k == dataPBDY_AlreadyAdded[5*r+2]) ) {
if ( k == dataPBDY_AlreadyAdded[5*r+2] ) {
/* then this point has alreadyh been added */
ip_in = dataPBDY_AlreadyAdded[5*r+3];
duplicated_point = 1;
Expand Down Expand Up @@ -800,4 +800,4 @@ int PMMG_delete_overlap(PMMG_pParMesh parmesh, MPI_Comm comm) {
parmesh->myrank,mesh->np,mesh->ne);

return 1;
}
}
6 changes: 3 additions & 3 deletions src/tag_pmmg.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ void PMMG_tag_par_edge(MMG5_pxTetra pxt,int j){
* Tag an edge as parallel.
*/
int PMMG_tag_par_edge_hash(MMG5_pTetra pt,MMG5_HGeom hash,int ia){
int ip0,ip1,getref;
int16_t gettag;
int ip0,ip1,getref;
uint16_t gettag;

ip0 = pt->v[MMG5_iare[ia][0]];
ip1 = pt->v[MMG5_iare[ia][1]];
Expand Down Expand Up @@ -275,7 +275,7 @@ int PMMG_updateTag(PMMG_pParMesh parmesh) {
MMG5_HGeom hash;
int *node2int_node_comm0_index1,*face2int_face_comm0_index1;
int grpid,iel,ifac,ia,ip0,ip1,k,j,i,getref;
int16_t gettag;
uint16_t gettag;
int8_t isbdy;

/* Loop on groups */
Expand Down

0 comments on commit 1bb1bfe

Please sign in to comment.