[Gmsh] Way to make a Line Loop with arbitrary number of lines

Ruth V. Sabariego r.sabariego at ulg.ac.be
Wed Jan 30 15:01:22 CET 2013


Try:

Line Loop(newll) = {1:N} ;

If the increment is different from 1, e.g. 2

Line Loop(newll) = {1:N:2} ;

Regards,
Ruth


On 28 Jan 2013, at 23:35, Orxan Shibliyev <orxan.shibli at gmail.com> wrote:

> I want to create a "Line Loop" with an ordered list of lines from 1 to N where N is an integer. I know that it is not possible to do something like "Line Loop (0) = {LineList{1:N}}". So how can I do something like: "Line Loop (0) = {1,2,3,...,N};"?
> 
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

—
Dr. Ir. Ruth V. Sabariego
University of Liege, Electrical Engineering and Computer Science
http://ace.montefiore.ulg.ac.be/







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130130/bc07eca7/attachment.html>


More information about the gmsh mailing list