Skip to content

Commit

Permalink
Update npi and nei after centralized ls discretization.
Browse files Browse the repository at this point in the history
  • Loading branch information
Algiane committed Oct 30, 2024
1 parent 7e8a2dd commit d8069d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libparmmg.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,10 @@ int PMMG_preprocessMesh( PMMG_pParMesh parmesh )
if ( !MMG3D_mmg3d2(mesh,ls,met) ) {
return PMMG_STRONGFAILURE;
}
/* Update mesh->npi and mesh->nei to be equal to mesh->np and mesh->ne, respectively */
mesh->npi = mesh->np;
mesh->nei = mesh->ne;

chrono(OFF,&(ctim[tim]));
printim(ctim[tim].gdif,stim);
if ( parmesh->info.imprim > PMMG_VERB_VERSION ) {
Expand Down

0 comments on commit d8069d0

Please sign in to comment.