Skip to content

Storing vectors in gridToVtk #17

Description

@nfoppiani-pf

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions