Try changing from UInt to Int in:
<DataItem Format="Binary" NumberType="UInt" Endian="Little" Dimensions="15">
testTwoFiles-topology.bin
Seems like a bug in XDMF.
>From xdmfdataitem.cxx:
} else if(XDMF_WORD_CMP(Value, "Int")){
if(Precision == 8){
this->DataDesc->SetNumberType(XDMF_INT64_TYPE);
}else{
this->DataDesc->SetNumberType(XDMF_INT32_TYPE);
}
} else if(XDMF_WORD_CMP(Value, "UInt")){
this->DataDesc->SetNumberType(XDMF_UINT32_TYPE);
} else {
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Thu, Aug 23, 2012 at 4:18 PM, David Zemon <[email protected]> wrote:
> Follow-up question to "Xdmf Polyvertex, Only First Half Visible":
> How do you specify the bit width of integers in a binary file from within
> Xdmf? My script is writing a binary file with 64-bit unsigned integers and I
> think ParaView is interpreting it as 32-bit.
>
> Thanks,
> David
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
_______________________________________________
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 ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview