[Gmsh] Reading Lists in GEO files

Matthias Lang lang_matthias at gmx.de
Wed Nov 27 08:55:50 CET 2013


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[] ?


Regards
Matthias Lang