V3 Road Feature Request: Difference between revisions

From XdmfWeb
Jump to navigationJump to search
 
(One intermediate revision by one other user not shown)
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
'''Set'''
Already implemented (unofficially?) by VTK [https://github.com/Kitware/VTK/blob/master/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfSet.h XdmfSet.h], this is pretty similar to the '''GridType="Subset"'''.
This would be useful for specifying boundary conditions on models. However, it needs a clearer definition of how to access Edges and Faces in 2D and 3D. e.g. they could be identified by CellId and then the cell-local FaceId/EdgeId?

Latest revision as of 10:19, 17 April 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

Set

Already implemented (unofficially?) by VTK XdmfSet.h, this is pretty similar to the GridType="Subset".

This would be useful for specifying boundary conditions on models. However, it needs a clearer definition of how to access Edges and Faces in 2D and 3D. e.g. they could be identified by CellId and then the cell-local FaceId/EdgeId?