[Gmsh] Adaptation with python interface

Martin Vymazal martin.vymazal at vki.ac.be
Tue Feb 5 13:54:29 CET 2013


Dear prof. Geuzaine,

 thank you for putting so much work into improving gmsh.

 Best regards,

  Martin Vymazal


On Thursday 31 January 2013 16:41:19 Christophe Geuzaine wrote:
> 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 <martin.vymazal at vki.ac.be> 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
> > gmsh at geuz.org
> > http://www.geuz.org/mailman/listinfo/gmsh