[vtkusers] TimeValues attribute in vtkXMLReader limited to 4096 values
Simon Praetorius
Simon.Praetorius at tu-dresden.de
Wed Sep 21 11:32:19 EDT 2016
Hi,
The VTK XML-files support an attribute of the primary element with the
name "TimeValues" (see e.g. vtkXMLReader:693). This attribute is a
space separated list of time values (as the name indicates). But
unfortunately the number of values is restricted to 4096, i.e. an
array of doubles is preallocated an then read by
`vtkXMLDataElement->getVectorAttribute` that supports only double
pointers as containers.
This restriction is quite harsh, I would say. I often have timeseries
with about 10.000 timesteps and more.
Why is this implemented as an attribute instead of a block of values?
There would not be this limitation, at least one could implement it
without a limitation in the nr. of values.
Simon
(I'm referring to the source of VTK-7.0.0)
--
Dr. Simon Praetorius
Institut für Wissenschaftliches Rechnen
Fachrichtung Mathematik
Technische Universität Dresden
Tel.: TUD-42377
Mail: simon.praetorius at tu-dresden.de
Web: www.math.tu-dresden.de/~spraetor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5733 bytes
Desc: S/MIME-Signatur
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160921/9ef73417/attachment.bin>
More information about the vtkusers
mailing list