[Gmsh] Create .geo file using C++..??
Mikhail Artemiev
artemiev.mikhail at ngs.ru
Tue Oct 25 19:50:59 CEST 2011
Hi, Rakesh!
>>Is there a way to generate .geo file pro grammatically..?? i.e. using C++.??
Maybe, I don't really understand your question... but what is the problem?
int main()
{
std::ofstream geo("test.geo");
geo << "Point(1) = {0, 0, 0};\n";
// and so on
geo.close();
return 0;
}
Cheers
Mikhail Artemiev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20111025/c703f067/attachment.html>