[Gmsh] Bug: Deleting volumes in different files

Christophe Geuzaine cgeuzaine at ulg.ac.be
Mon Jul 21 20:41:30 CEST 2008


Hackbarth, Axel wrote:
> I just found out, if you use include everything works as expected...
> Any explanation for this behaviour? 

Yes but it's a bit tricky :-)

Basically, if you want to combine several .geo files, use "Include" 
instead of "Merge", i.e.:

 >>>>
Include "boundingBox.geo";

Delete{ Volume{vBox}; }
 >>>>




> 
> -----Ursprüngliche Nachricht-----
> Von: gmsh-bounces at geuz.org [mailto:gmsh-bounces at geuz.org] Im Auftrag von Hackbarth, Axel
> Gesendet: Freitag, 18. Juli 2008 10:10
> An: gmsh at geuz.org
> Betreff: [Gmsh] Bug: Deleting volumes in different files
> 
>  <<boundingBox.geo>> I  <<bl2box.geo>> think I found a bug:
> When you try to delete a volume, created in a merged file, from outside that file (where the other file is merged into).
> The example shows: open bl2box.geo
> The volume should be deleted, but neither this happens nor an error occurs.
> If you uncomment the same line in boundingBox.geo, you will get an error message.
> If you comment the line in bl2box.geo and uncomment in boundingBox.geo, the volume is deleted.
> 
> Cheers,
> 
> Axel
> 
> _______________________________________________
> 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
http://www.montefiore.ulg.ac.be/~geuzaine