[Gmsh] Coherence causing problems

Christophe Geuzaine cgeuzaine at ulg.ac.be
Wed Jan 28 22:43:38 CET 2015

> On 20 Jan 2015, at 17:19, Julian Dean <j.dean at sheffield.ac.uk> wrote:
> Dear GMsh, 
> I’ve created a collection of volumes (with coherence off) from a collection of points, lines and surfaces. 
> I set, for example all the surfaces for volume 3 to a fine mesh on the surface and edges. (using a math restrict applying it to a EdgesList and FaceList.) 
> When I then run coherence - which i need- obvious the shared surfaces collapse. The issue is when i go on to mesh the structure not all the surfaces of the volumes are attributed this fine mesh as obviously they have change their ID number. 
> Without having to go through all the surfaces manually and see which are shared, apply the field to them as well (last resort) is there any sneaky way i’m missing?

No, I don't think so; currently we update the "Physical" definitions after "Coherence" - I guess we should also update the field definitions. Or at least provide the "old_id<->new_id" map somehow. I'm adding this in our TODO list.

> best regards
> Julian
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 

More information about the gmsh mailing list