[Gmsh] Adaptation with python interface

Martin Vymazal martin.vymazal at vki.ac.be
Wed Dec 12 16:10:11 CET 2012


Dear gmsh developers,

 is there  a way to supply my own metric and then adapt the mesh with respect 
to this metric using the python interface of gmsh?
 I know how to load a mesh into GModel and how to write it into an output 
file. I have a metric field produced by an external code (one metric tensor 
per mesh node). Is it possible to load this metric field (say in numpy array 
or similar)  and pass to gmsh ?

Thank you.

Best regards,

   Martin Vymazal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20121212/2ae8990d/attachment.html>