MmgTools / mmg

open source software for bidimensional and tridimensional remeshing
http://www.mmgtools.org
Other
369 stars 118 forks source link

Modification of the settag function #235

Closed Algiane closed 11 months ago

Algiane commented 11 months ago

Description of the issue

The settag function updates tag info by travelling the tetra of the shell of a given edge. Commit 0f487e0a (which aims to add the support of required entities) has introduced the fact that the edge tag is updated only for tetra in which the edge belongs to a boundary face.

Thus, if the edge has no boundary face, it is not updated.

It may leads to tag inconsistencies in ParMmg where the settag function is called (in cleanMesh function). and where edges not belonging to bdy faces may be marked as MG_BDY.

As a recall:

Resolution

Now the edge tag is updated for all the tetra of the shell that have a xtetra.

Check for regression

This modification has been tested by running, in Debug mode, the continuous integration tests that contains required entities (Req pattern in test name) and the tests related to the nosurf option (nosurf pattern) : the adaptation waves are the same.

Remark: Comparative outputs may contains useless 2D or surface tests due to the usage of the regex.

old-nosurf.txt new-nosurf.txt old-req.txt new-req.txt