Unable to write data to VTK file for 1D Vectors.
Asked by
Charles
Trying to write a 1D vector to a file produces the following error:
*** -------
*** Error: Unable to write data to VTK file.
*** Reason: Don't know how to handle vector function with dimension other than 2 or 3.
*** Where: This error was encountered inside VTKFile.cpp.
*** Process: 0
*** -------
The calling code:
File ustarfile(
ustarfile << u;
Where u is a Function on a VectorElement(
Should I be writing the data files in a different way?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Charles
- Solved:
- Last query:
- Last reply:
To post a message you must log in.