Skip to content

Demangle symbols in PrintSummary.

Nick Thompson requested to merge (removed):demangle_in_print_summary into master

Previously, when printing a vtkm::cont::DataSet, we would see something like:

184: DataSet:
184:   CoordSystems[1]
184:     Coordinate System    coordinates assoc= Points valueType=N4vtkm3VecIdLi3EEE storageType=N4vtkm4cont17StorageTagVirtualE numValues=32768 bytes=786432 [(0,0,0) (0.0322581,0,0) (0.0645161,0,0) ... (0.935484,1,1) (0.967742,1,1) (1,1,1)]
184:   CellSet 
184:   StructuredCellSet: 
184:    UniformConnectivity<3> pointDim[32 32 32] 
184:   Fields[2]
184:    vec assoc= Points valueType=N4vtkm3VecIfLi3EEE storageType=N4vtkm4cont17StorageTagVirtualE numValues=32768 bytes=393216 [(0,0,0) (0,0,0) (0,0,0) ... (0,0,0) (0,0,0) (0,0,0)]
184:    vec_magnitude assoc= Points valueType=f storageType=N4vtkm4cont17StorageTagVirtualE numValues=32768 bytes=131072 [0 0 0 ... 0 0 0]

With this diff, we see the following (more legible)

267: DataSet:
267:   CoordSystems[1]
267:     Coordinate System    coords assoc= Points valueType=vtkm::Vec<double, 3> storageType=vtkm::cont::StorageTagVirtual125 values occupying 3000 bytes [(0,0,0) (1,0,0) (2,0,0) ... (2,4,4) (3,4,4) (4,4,4)]
267:   CellSet 
267:   StructuredCellSet: 
267:    UniformConnectivity<3> pointDim[5 5 5] 
267:   Fields[1]
267:    vector assoc= Points valueType=vtkm::Vec<double, 3> storageType=vtkm::cont::StorageTagVirtual125 values occupying 3000 bytes [(1,0,0) (1,0,0) (1,0,0) ... (1,0,0) (1,0,0) (1,0,0)]

Merge request reports