[Paraview] order of components XDMF tensors

Dan Lussier dan.lussier at sjc.ox.ac.uk
Thu Oct 7 18:48:43 EDT 2010


I have taken to building my vectors in XDMF using the following XML:

< ---- BUNCH OF SETUP XML>


<Attribute Type="Vector" Center="Node" Name="force">
	<DataItem ItemType="Function" Function="JOIN($0, $1, $2)" Dimensions="4000 3">
		  <DataItem Name="fx" Format="HDF" DataType="Float" Dimensions="4000">
			  test.h5:/fx
		  </DataItem>
		  <DataItem Name="fy" Format="HDF" DataType="Float" Dimensions="4000">
			  test.h5:/fy
		  </DataItem>
		  <DataItem Name="fz" Format="HDF" DataType="Float" Dimensions="4000">
			test.h5:/fz
		</DataItem>
	</DataItem>
</Attribute>								

So, for cartesian tensors, this is the usual (x,y,z) ordering mapped
to (comp0, comp1, comp2)

In the case of both symmetric tensors (Type=Tensor6) and non-symmetric
tensors (Type=Tensor), what ordering should I use?  This type of
information is not on the XDMF website and I wasn't able to figure it
out via playing around with visual representation of mock tensors in
PV itself.

Thanks so much.

Dan


More information about the ParaView mailing list