[Paraview] Re: Multiple pieces in UnstructuredGrid
Brad King
brad.king at kitware.com
Fri Feb 23 09:29:13 EST 2007
Craig Warren wrote:
> I still can't get CellData for more than one piece to diaply using
> UnstructuredGrid in Paraview with the XML format. However, it works with
> the legacy format. I would still prefer to use the xml format, so any
> suggestions are most welcome. This is the legacy file that works, and
> below it the xml file that doesn't.
[snip]
> <Piece NumberOfPoints="4" NumberOfCells="1">
> <CellData Scalars="pressure">
> <DataArray type="Float32" Name="pressure" format="ascii">
[snip]
> <Piece NumberOfPoints="16" NumberOfCells="2">
> <CellData Scalars="temperature">
> <DataArray type="Float32" Name="temperature" format="ascii">
The "Piece" elements are meant for multiple pieces of *geometry*. They
are meant for streaming computation to reduce memory usage. All the
pieces have to have the same set of data arrays.
-Brad
More information about the ParaView
mailing list