[Gmsh] Adaptation with python interface

Nico Schlömer nico.schloemer at gmail.com
Thu Jan 31 18:50:29 CET 2013


> "clean Pyhton API"

I'm be very much in support of this, too.

--Nico



On Thu, Jan 31, 2013 at 4:41 PM, Christophe Geuzaine
<cgeuzaine at ulg.ac.be> 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
>
> --
> Prof. Christophe Geuzaine
> University of Liege, Electrical Engineering and Computer Science
> http://www.montefiore.ulg.ac.be/~geuzaine
>
>
>
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh