[Gmsh] If () Endif issues

Danny Holstein dgholstein at embarqmail.com
Tue Feb 24 15:03:26 CET 2015


Thanks so much, that was simple!

On a related question (related to my geometry, that is), is there a way to construct a line loop using an array of lines?  When parametrizing, I will not have the same number of line features depending on whether I radius a corner or not (as well as other conditionals).  It would be easy to add line elements to an array and then form the line loop with those, I don't see how to do it otherwise.

Are there some GMSH array examples to look at?  Arrays of points, of lines?

Regards,
Dan

----- Original Message -----
From: "Christophe Geuzaine" <cgeuzaine at ulg.ac.be>
To: "Danny Holstein" <dgholstein at embarqmail.com>
Cc: gmsh at geuz.org
Sent: Tuesday, February 24, 2015 3:17:42 AM
Subject: Re: [Gmsh] If () Endif issues


> On 24 Feb 2015, at 04:21, Danny Holstein <dgholstein at embarqmail.com> wrote:
> 
> All,
> 
> The attached crashes GMSH versions 2.8.6 and 2.8.5 on Linux x86_64 when the logical resolves to "false".
> 
> Also, when it resolves to "true", it doesn't read the following script line, so I put in a semicolon, which causes the scripting language to throw an "error".
> 

Hi Danny - Change "Endif" into "EndIf" on line 16 of functions.dat. (We will try to fix the crash, which is due to an unclean file close.)

> Any help would be appreciated.
> 
> Regards,
> Dan
> <functions.dat><keri.dat><keri.geo>_______________________________________________
> 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







More information about the gmsh mailing list