[vtkusers] Error reading asci data. Possible mismatch of datasize with declaration

kenichiro yoshimi rccm.kyoshimi at gmail.com
Tue Mar 6 19:42:37 EST 2018


Hello Amine,

I guess that in reading data there is no way to change single- to
double precision from the outside of data file. I think the most
simple way for you to handle double precision is by converting
value-type from float to double in data file:
 TENSORS strain float --> TENSORS strain double

Best

2018-03-06 16:57 GMT+09:00 Amine Aboufirass <amine.aboufirass at gmail.com>:
> I could but I would rather find a way for vtk/paraview to handle double
> precision. Im getting this output from a 3rd party program and cannot modify
> how the data is output :/
>
> On 6 Mar 2018 1:56 am, "kenichiro yoshimi" <rccm.kyoshimi at gmail.com> wrote:
>>
>> Hello Amine,
>>
>> Could you try to replace very small numbers (like
>> 2.778595324927526E-106) with zeros? Overflow or underflow might be
>> caused by them in a single-precision floating-point numbers.
>>
>> Thanks
>>
>> 2018-03-06 2:10 GMT+09:00 Amine Aboufirass <amine.aboufirass at gmail.com>:
>> > There are 9 tensor components. It is a true tensor
>> >
>> > On Mon, Mar 5, 2018 at 5:56 PM, Bill Lorensen <bill.lorensen at gmail.com>
>> > wrote:
>> >>
>> >> Ignore I previous responses. I miscalcuated.
>> >
>> >
>> >
>> > _______________________________________________
>> > Powered by www.kitware.com
>> >
>> > Visit other Kitware open-source projects at
>> > http://www.kitware.com/opensource/opensource.html
>> >
>> > Please keep messages on-topic and check the VTK FAQ at:
>> > http://www.vtk.org/Wiki/VTK_FAQ
>> >
>> > Search the list archives at: http://markmail.org/search/?q=vtkusers
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > https://vtk.org/mailman/listinfo/vtkusers
>> >


More information about the vtkusers mailing list