[Gmsh] gmsh bug in Circle ??

Maiheu Bino bino.maiheu at vito.be
Thu Mar 12 13:22:36 CET 2015


Hi Matthias,

Yeah, someone mentioned it. I thought I was going mental... was staring blindly at those 2 points. I think I probably need a holiday or so :-s...

Thanks !
b.

From: Zenker, Dr. Matthias [mailto:Matthias.Zenker at erbe-med.com]
Sent: donderdag 12 maart 2015 13:17
To: Maiheu Bino; gmsh at geuz.org
Subject: AW: [Gmsh] gmsh bug in Circle ??

Hi,

as far as I see, your point coordinates are wrong, i.e. if point 2 is your center point, points 1 and 3 do not lie on the same circle. So it is no bug.
But indeed a warning would be helpful here.

Working example:

Point(4) = {-100, 0, 0, 1};
Point(5) = {0, 0, 0, 1};
Point(6) = {0, 100, 0, 1};
Circle(11) = {4, 5, 6};

HTH,

Matthias

Von: Maiheu Bino [mailto:bino.maiheu at vito.be]
Gesendet: Donnerstag, 12. März 2015 11:55
An: gmsh at geuz.org<mailto:gmsh at geuz.org>
Betreff: [Gmsh] gmsh bug in Circle ??

Dear,

I'm not entirely sure if I'm going mental now (:-s), but I'm trying to create a very simple circle :

lc = 1;
Point(1) = {0, 50, 0, lc};
Point(2) = {90.0,-42.0,0,lc };
Point(3) = {154.0,93.0,0,lc};
Circle(10) = {1, 2, 3};

However, for some bizarre reason, the circle doesn't go through my 3th point. See screenshot below... I have absolutely no idea what goes wrong here. Maybe I'm missing something ??? I don't really get any errors as well. I'm using gmsh 2.8.5 on windows 64 bit. But I've tried with the linux version as well, same problem. At first I though I had made some mistakes in some calculation I was doing before, but when I stripped everything down to the bare coorinates (see .geo above), I get the same error...

Many thanks for any light you can shine on this.

Kinds regards,
bino

[cid:image007.png at 01D05CC7.36BE41B0][cid:image008.jpg at 01D05CC7.36BE41B0]


Bino Maiheu, Ph.D.
Researcher Atmospheric Modelling

Unit RMA - Environmental Modelling
VITO NV | Boeretang 200 | 2400 Mol
Tel. +32 14 33 67 45 | fax +32 14 33 67 99 | bino.maiheu at vito.be<mailto:voornaam.naam at vito.be>

"Do or do not... there is no try" -- Yoda

[cid:image001.jpg at 01CDCE3A.4E197A50]<http://www.vito.be/>[cid:image001.jpg at 01CD3F0D.B57AA190]<http://www.linkedin.com/company/17947>[cid:image003.jpg at 01CD3F0D.B57AA190]<http://twitter.com/#!/vitobelgium>[cid:image002.jpg at 01CD3F0D.B57AA190]<https://www.facebook.com/VITObelgium>


VITO Disclaimer: http://www.vito.be/e-maildisclaimer


_____________________________________________________________________
ERBE Elektromedizin GmbH
Firmensitz: 72072 Tuebingen
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede
Registergericht: Stuttgart HRB 380137
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150312/da1555ca/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 610 bytes
Desc: image007.png
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150312/da1555ca/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.jpg
Type: image/jpeg
Size: 13611 bytes
Desc: image008.jpg
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150312/da1555ca/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.jpg
Type: image/jpeg
Size: 15231 bytes
Desc: image009.jpg
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150312/da1555ca/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image010.jpg
Type: image/jpeg
Size: 2434 bytes
Desc: image010.jpg
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150312/da1555ca/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image011.jpg
Type: image/jpeg
Size: 2422 bytes
Desc: image011.jpg
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150312/da1555ca/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image012.jpg
Type: image/jpeg
Size: 2442 bytes
Desc: image012.jpg
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150312/da1555ca/attachment-0004.jpg>