On 27 Nov 2013, at 08:55, Matthias Lang <[email protected]> wrote:
> Hi, > Is in gmsh a command to read numbers from a file into a list? > > In getDP is the command: > > listexample = ListFromFile["example.txt"]; > > Is there a similar way in gmsh? > > The background: > I receive from an optimization algorithmen some values, wich should be > geometry parameters in a *.geo file. > Therefore I could create a file like this: > x1=3.0; > x2=5.1; > . > . > and use the "include" command in the *.geo file. But is there a simpler > way available -something like ListFromFile[] ? > Hi Matthias - No, not currently. I agree that it would be a good idea to add such a feature, though. > > Regards > Matthias Lang > > > > > _______________________________________________ > gmsh mailing list > [email protected] > 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 _______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
