[Paraview] reading scalars
Mattijs Janssens
M.Janssens at nabla.co.uk
Thu, 11 Mar 2004 14:39:20 +0000
For multiple scalars you want to put them in a 'field':
POINT_DATA 216
FIELD attributes 2
solution_approchee 1 216 float
0.000
..
0.100
erreurs 1 216 float
0.000
..
0.00125
Regards,
Mattijs
Puiseux Pierre wrote:
> Hello,
>
> Thanks for this beautiful tool.
>
> A problem with reader in paraview :
> paraview (vtk?) seems to be unable to read two SCALARS
> In the following example, SCALAR "erreur" is ignored, or at least,
> cannot be accessed from paraview.
> (while, in Mayavi, the two SCALARS are read and accessible)
> Maybe a bug ?
>
> # vtk DataFile Version 3.0
> test puiseux/trujillo
> ASCII
> DATASET UNSTRUCTURED_GRID
> POINTS 216 float
> 0.000000 0.000000 0.000000
> ...
> 1.000000 1.000000 1.000000
> CELLS 125 1125
> 8 0 1 2 3 4 5 6 7
> .....
> 8 172 173 179 178 208 209 215 214
> CELL_TYPES 125
> 12
> ...
> 12
> POINT_DATA 216
> SCALARS solution_approchee float
> LOOKUP_TABLE default
> 0.000000
> ...
> 0.100000
> 0.000000
> SCALARS erreur float
> LOOKUP_TABLE default
> 0.000000
> ...
> 0.000125
>
>
--
/*---------------------------------------------------------*\
| =========== Mattijs Janssens |
| \\ / Development Engineer |
| \\ / |
| \\ / Nabla Ltd. |
| \\ / The Mews, Picketts Lodge |
| \\/ Picketts Lane, Salfords, |
| F ield Surrey RH1 5RG. |
| O peration Tel: +44 (0)1293 821272 |
| A nd Email: m.janssens at Nabla.co.uk |
| M anipulation URL: http://www.Nabla.co.uk |
\*---------------------------------------------------------*/