Skip to content

Commit

Permalink
Add support for empty group in parbdyTria.
Browse files Browse the repository at this point in the history
  • Loading branch information
Algiane committed Oct 25, 2024
1 parent 0e467d3 commit cd157e1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/tag_pmmg.c
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,13 @@ int PMMG_parbdyTria( PMMG_pParMesh parmesh ) {

comm = parmesh->comm;
myrank = parmesh->myrank;
assert( parmesh->ngrp == 1 );

if ( !parmesh->ngrp ) {
return 1;
}

assert( parmesh->ngrp == 1 && "Not implemented for multiple groups");

mesh = grp->mesh;

/* intvalues will be used to store tetra ref */
Expand Down

0 comments on commit cd157e1

Please sign in to comment.