[Gmsh] Segfault when Periodic Curve is defined

Marek Wojciechowski mwojc at p.lodz.pl
Wed Oct 17 12:00:22 CEST 2018


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...
The question is what is a general way to fix this?


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. 





More information about the gmsh mailing list