Re: [Gmsh] How to work with arrays?

2016-09-15 Thread Aleksejs Fomins
Hey Ruth, Thanks for the advice. I figured it out roughly at the same time :) Excellent, now my amazing geometry works ^^ Greetings, Aleksejs On 14.09.2016 16:28, Ruth Vazquez Sabariego wrote: > Dear Aleksejs, > The problem is the indexing. You should start at 0. > > For i In {0:n-1} >ss1[i]

Re: [Gmsh] How to work with arrays?

2016-09-14 Thread Ruth Vazquez Sabariego
Dear Aleksejs, The problem is the indexing. You should start at 0. For i In {0:n-1} ss1[i] = ... ss2[i] = ... ss3[i] = … EndFor Otherwise, the first element of the array won’t be correct. From your error msg, seems to be 0. Regards, Ruth — Prof. Ruth V. Sabariego KU Leuven Dept. Elect