Hi Alexis, you can pass a constant variable value to Gmsh with its command line option -setnumber MyConstant 54321
For strings you can use -setstring name value Regards, Michael From: gmsh [mailto:[email protected]] On Behalf Of Alexis PACHOLIK Sent: 03 June, 2014 19:17 To: [email protected] Subject: [Gmsh] Question about the command line Hello all, I'd like to know if I can get back an integer given in command line. For example, if I put "gmsh myfile.msh myscript.sh 54321" in the command line where myfile.msh is my mesh and myscript.sh is a script for postprocessing, how can I use the integer 54321 in the file myscript.sh (if possible)? I'm not aware of something like argv[] or else... Thank you and regards, Alexis PACHOLIK
_______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
