export function initialized by vector to PVD file in parallel
Asked by
Doug Arnold
As explained in the eigenvalue demo, once an eigenvector has been computed, it is convenient to use the vector to initialize a finite element function for visualization. However, this does not seem to work when run in parallel. E.g., the following code will generate a PETSc error
r, c, rx, cx = eigensolver.
u = Function(V, rx)
File("u.pvd") << u
Is there a way around this?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was reopened
- by Doug Arnold
Can you help with this problem?
Provide an answer of your own, or ask Doug Arnold for more information if necessary.
To post a message you must log in.