[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Getfem-users] VTK export -- bug or feature ?
From: |
Roman Putanowicz |
Subject: |
Re: [Getfem-users] VTK export -- bug or feature ? |
Date: |
Thu, 15 Jul 2010 08:29:06 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Dear All,
[...]
> The fix should be easy -- my proposal is to explicitly tell
> vtk_export::write_vec what is the dimension of the vector field
> When exporting point data this dimension will be deduced from
> mesh_fem. When exporting cell data or sliced point data this dimension
> must be specified explicitly or will be set by default to 1.
> This way we can export cell data which is a vector field (is this
> supported by VTK?).
[...]
As shown in the attached example the fix proposed in the previous mail
works also for cell centered vector fields and VTK supports it.
Regards,
Roman
cell_vectors.pdf
Description: Adobe PDF document
cell_vectors.cxx
Description: Text Data