[Paraview] XDMF HyperSlab hints or example needed

Jens jens-devel at gmx.de
Mon May 25 09:17:54 EDT 2009


Hi,

I attached an xdmf-hdf5 hyperslab example, which is working fine for me.

Greetings
Jens

Eric E. Monson schrieb:
> I agree that there's something very screwy going on. I can sometimes
> load a slightly reformatted version of this, but only when I've just
> opened PV 3.4, and even then when I look in a spreadsheet view it's not
> showing the correct data (not jumping by 2 in last dim). If I "delete"
> and reload, it crashes. I tried another test set that's 3d to begin
> with, and got a lot of crashes, too.
> 
> Sorry I have to run, but wanted you to know that I'm seeing something
> very similar.
> -Eric
> 
> ------------------------------------------------------
> Eric E Monson
> Duke Visualization Technology Group
> 
> 
> On Apr 3, 2009, at 10:32 AM, Ian Curington wrote:
> 
>> Does anyone have some small working examples of XDMF xml
>> using they hyperslab option? I've yet to create any that will
>> load with any stability in either the release or current dev versions.
>> Suggestions for correcting the XDMF sample, or other working samples
>> are very much appreciated!
>>
>> With both ParaView 3.4 Release and 3.5.0 Development, current CVS,
>> loading this XML file brings down ParaView at the "Apply" stage.
>> Very occasionally it loads but shows garbage data ranges.
>>
>> Here is a simple test of a 2D uniform grid, subsampled by 2 in X.
>> Save it to "test.xmf", then File-Load into ParaView.
>>
>> <?xml version="1.0" ?>
>> <!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
>> <Xdmf xmlns:xi="http://www.w3.org/2003/XInclude" Version="2.2">
>>  <Domain>
>>    <Grid Name="Reduced Grid" GridType="Uniform">
>>      <Topology TopologyType="3DCORECTMesh" Dimensions="1 3 3 "/>
>>      <Geometry GeometryType="ORIGIN_DXDYDZ">
>>        <DataItem Dimensions="3" NumberType="Float" Precision="4"
>> Format="XML">
>>          0 0 0
>>        </DataItem>
>>        <DataItem Dimensions="3" NumberType="Float" Precision="4"
>> Format="XML">
>>          0.1 0.1 0.1
>>        </DataItem>
>>      </Geometry>
>>      <Attribute Name="Density" AttributeType="Scalar" Center="Node">
>>          <DataItem ItemType="HyperSlab"
>>            Dimensions="1 3 3"
>>            Type="HyperSlab">
>>            <DataItem
>>                 Dimensions="3 3"
>>                 Format="XML">
>>                0  0  0
>>                1  1  2
>>                1  3  3
>>            </DataItem>
>>            <DataItem Dimensions="1 3 6"
>>                      NumberType="Float" Precision="4"
>>                      Format="XML">
>>              0.2
>>              0.285714
>>              0.371429
>>              0.45714
>>              0.15714
>>              0.25714
>>              0.542857
>>              0.628571
>>              0.714286
>>              0.999
>>              0.05714
>>              0.25714
>>              0.885714
>>              0.971429
>>              1.05714
>>              1.14286
>>              0.15714
>>              0.25714
>>            </DataItem>
>>          </DataItem>
>>      </Attribute>
>>    </Grid>
>>  </Domain>
>> </Xdmf>
>>
>> -- 
>> -- Ian -- ianc at acm.org  ---
>> _______________________________________________
>> 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
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xdmf_hdf5_hyperslab_example.xdmf
Type: text/xml
Size: 2941 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090525/dd7c9887/attachment.bin>


More information about the ParaView mailing list