Hi Martin - Not directly (as far as I know). I'll keep this in mind for our 
"clean Pyhton API" project.

Christophe

On 12 Dec 2012, at 16:10, Martin Vymazal <[email protected]> wrote:

> 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
> _______________________________________________
> gmsh mailing list
> [email protected]
> http://www.geuz.org/mailman/listinfo/gmsh

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine




_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh

Reply via email to