I would like to store a vector field on a structured grid using gridToVtk, but unfortunately pointData is supposed to be a dict of only scalar fields.
Can you explain why and what's preventing to extend this functionality to vector fields?
Especially because the low level function _addDataToFile seems to handle vectors somehow.
Btw, I am sure it's possible to have vector fields - right now I am saving the components as scalar fields and assemble them as vectors using Paraview.
Thanks!
I would like to store a vector field on a structured grid using gridToVtk, but unfortunately pointData is supposed to be a dict of only scalar fields.
Can you explain why and what's preventing to extend this functionality to vector fields?
Especially because the low level function _addDataToFile seems to handle vectors somehow.
Btw, I am sure it's possible to have vector fields - right now I am saving the components as scalar fields and assemble them as vectors using Paraview.
Thanks!