[Gmsh] Does gmsh script support custom functions?
G. D. McBain
gdmcbain at protonmail.com
Thu Jun 27 08:04:12 CEST 2019
> Does gmsh script support custom functions? I cannot find any guides to writing custom functions in gmsh manual
Not really, no. There is 'Macro' (which I think used to be called 'Function'), but no.
But there is the Gmsh API which can be used instead of writing a GEO file
Before that came along, the best approach was generating the GEO file in an external script, e.g. Python. A formalization of this which I still use myself is pygmsh.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gmsh