> On 17 Oct 2018, at 12:00, Marek Wojciechowski <[email protected]> wrote:
>
> Hi!
>
> The below script causes segfault for gmsh-4.0.2 under Linux 64-bit. The
> periodic definition is the cause. In earlier 3.x versions it worked fine...
Indeed, a bug was introduced in version 4, when the periodic transformation is
not explicitly specified.
> The question is what is a general way to fix this?
With your current version you can specify the transformation.
You can also download the next automatic snapshot, which will fix the issue.
Thanks for the report,
Christophe
>
>
> Point(1) = {-0.5, -0.5, 0.0, 0.025};
> Point(2) = {0.5, -0.5, 0.0, 0.025};
> Point(3) = {0.5, 0.5, 0.0, 0.025};
> Point(4) = {-0.5, 0.5, 0.0, 0.025};
> Line(1) = {1, 2};
> Line(2) = {2, 3};
> Line(3) = {3, 4};
> Line(4) = {4, 1};
> Periodic Curve {3} = {-1};
> Periodic Curve {2} = {-4};
> Line Loop(1) = {1, 2, 3, 4};
> Plane Surface(1) = {1};
> Physical Point(1) = {1};
> Physical Point(2) = {1, 2, 3, 4};
> Physical Point(3) = {2};
> Physical Point(4) = {3};
> Physical Point(5) = {4};
> Physical Line(1) = {1};
> Physical Line(2) = {1, 2, 3, 4};
> Physical Line(3) = {2};
> Physical Line(4) = {3};
> Physical Line(5) = {4};
> Physical Surface(1) = {1};
>
>
> Regards,
> --
> Marek Wojciechowski
> Katedra Geotechniki i Budowli Inżynierskich P.Ł. (K-66)
> Al. Politechniki 6
> 90-924 Łódź
> Telefon: +0048 42 6313590
> Fax: +0048 42 6313592
>
>
>
>
> ---
> Politechnika Łódzka
> Lodz University of Technology
>
> Treść tej wiadomości zawiera informacje przeznaczone tylko dla adresata.
> Jeżeli nie jesteście Państwo jej adresatem, bądź otrzymaliście ją przez
> pomyłkę
> prosimy o powiadomienie o tym nadawcy oraz trwałe jej usunięcie.
>
> This email contains information intended solely for the use of the individual
> to whom it is addressed.
> If you are not the intended recipient or if you have received this message in
> error,
> please notify the sender and delete it from your system.
>
>
>
> _______________________________________________
> gmsh mailing list
> [email protected]
> http://onelab.info/mailman/listinfo/gmsh
—
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine
Free software: http://gmsh.info | http://getdp.info | http://onelab.info
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh