[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: read VTK format
From: |
JuanPi |
Subject: |
Re: read VTK format |
Date: |
Wed, 17 May 2017 11:44:46 +0200 |
On Wed, May 17, 2017 at 11:07 AM, Carlo de Falco
<address@hidden> wrote:
>
>> On 17 May 2017, at 10:40, JuanPi <address@hidden> wrote:
>>
>> Hi all,
>>
>> I saw that we have in fpl a function to write VTK formats aslo PVD/VTU
>> formats. Do we have a function to read these format into Octave?
>>
>> Thanks
>
> No, we currently don't but it shouldn't be too hard to write if you need it.
> It would be even easier if you know an xml parser for Octave.
>
> c.
>
>
What about https://octave.sourceforge.io/io/function/xmlread.html ?
The alternatives I was considering are:
1. Use fenics to lead the data and pass it to octave (fem-fenics not working :()
2. Use pytave to load using fenics in python and then save with numpy
in matlab format (haven't tried it yet)
3. Do 2. directly in python as a pre-step.
--
JuanPi Carbajal
https://goo.gl/ayiJzi
Public GnuPG key: 9C5B72BF
-----
"Why is thought, being a secretion of the brain, more wonderful than
gravity, a property of matter?"
- C. Darwin