V3 Road Feature Request: Difference between revisions

From XdmfWeb
Jump to navigationJump to search
Line 47: Line 47:


'''Polyhedral Cells'''
'''Polyhedral Cells'''
It would be great to have the XDMF specification and library support polyhedral cells
It would be great to have the XDMF specification and library support polyhedral cells
http://public.kitware.com/Bug/view.php?id=14528
http://public.kitware.com/Bug/view.php?id=14528

Revision as of 16:07, 12 January 2015

Version 3 Feature Request'

Implement AttributeType=Matrix

I would like to see the Matrix type implemented so that ParaView can open the files. A clear Example on how to use the Matrix AttributeMatrix. For example I have a triangular surface mesh where each triangle has a (2x1) matrix of values so that each triangle has 2 values. Currently we have to setup a hyper slab for the data array and end up with 2 data items.

   <Attribute Name="SurfaceMeshFaceLabels (Feature 0)" AttributeType="Scalar" Center="Cell">
     <DataItem ItemType="HyperSlab" Dimensions="757136 1" Type="HyperSlab" Name="SurfaceMeshFaceLabels (Feature 0)" >
       <DataItem Dimensions="3 2" Format="XML" >
         0        0
         1        1
         757136 1 </DataItem>
       <DataItem Format="HDF" Dimensions="757136 2" NumberType="Int" Precision="4" >
       Matrix_XDMF_Test.dream3d:/DataContainers/SurfaceDataContainer/FaceData/SurfaceMeshFaceLabels
       </DataItem>
     </DataItem>
   </Attribute>
   <Attribute Name="SurfaceMeshFaceLabels (Feature 1)" AttributeType="Scalar" Center="Cell">
     <DataItem ItemType="HyperSlab" Dimensions="757136 1" Type="HyperSlab" Name="SurfaceMeshFaceLabels (Feature 1)" >
       <DataItem Dimensions="3 2" Format="XML" >
         0        1
         1        1
         757136 1 </DataItem>
       <DataItem Format="HDF" Dimensions="757136 2" NumberType="Int" Precision="4" >
       Matrix_XDMF_Test.dream3d:/DataContainers/SurfaceDataContainer/FaceData/SurfaceMeshFaceLabels
       </DataItem>
     </DataItem>
   </Attribute>


I would rather do something like this:

   <Attribute Center="Cell" Name="Phases_Matrix" Type="Matrix">
     <DataItem Dimensions="2 1" Format="XML" >2 1</DataItem>
     <DataItem DataType="Int" Dimensions="757136 2" Format="HDF" Precision="4">
       Matrix_XDMF_Test.dream3d:/DataContainers/SurfaceDataContainer/FaceData/SurfaceMeshFaceLabels
     </DataItem>
   </Attribute>

Or something like that.

1DCoRectMesh

I will like to have also something like 1DCORECTMesh, for the moment I Use a 2DCORECTMesh with only 1 point in the second direction. But cant be used with cell data (paraview crash). So I use only point data.

Polyhedral Cells

It would be great to have the XDMF specification and library support polyhedral cells http://public.kitware.com/Bug/view.php?id=14528