Currently cell data visualization is done by passing a function to the visualizer that gives back an
When writing the VTU file a method is applied that swaps indices when there are 6 components. This may come as a surprise. It implicitly assumes that the data is some symmetric 2nd order tensor in 3D Voigt notation which is different in NuTo and in VTK.
I think this feature should be removed. The NuTo/VTK-Voigt swapping could be a method somewhere. Maybe in Constitutive/Voigt.h?
Currently cell data visualization is done by passing a function to the visualizer that gives back an
When writing the VTU file a method is applied that swaps indices when there are 6 components. This may come as a surprise. It implicitly assumes that the data is some symmetric 2nd order tensor in 3D Voigt notation which is different in NuTo and in VTK.
I think this feature should be removed. The NuTo/VTK-Voigt swapping could be a method somewhere. Maybe in Constitutive/Voigt.h?