[Gmsh] Remove duplicate entities in GEO file.

Billy Araujo billyaraujo at gmail.com
Tue Mar 23 16:51:38 CET 2010


I tried this solution and it works fine.

Thanks very much!

Billy.


On Tue, Mar 23, 2010 at 3:49 PM, Christophe Geuzaine <cgeuzaine at ulg.ac.be>wrote:

> On 22/03/10 18:19, Billy Araujo wrote:
>
>> What do this option do?
>>
>> I ask this because I have created surface that have duplicate edges and
>> this doesn't seem to remove them. Does anyone have an example where this
>> has been tested?
>>
>
> The option activates the automatic duplicate entity removal that is
> performed every time a geometric transformation (translation, extrusion,
> etc.) is used.
>
> You can force the duplicate entity removal "by hand" (even if there are no
> geometrical transformations) by adding "Coherence;" in your script. For
> example:
>
> Point(1) = {0,0,0};
> Point(2) = {1,0,0};
> Point(3) = {1,0,0};
> Line(1) = {1,2};
> Line(2) = {1,3};
> Coherence;
>
> Christophe
>
>
>>
>> Regards,
>>
>> Billy.
>>
>>
>>
>>
>> _______________________________________________
>> 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<http://www.montefiore.ulg.ac.be/%7Egeuzaine>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20100323/a78cd4c7/attachment.html>