Loading Numpy Arrays into Dolfin function
Asked by
Matthew Commin
I have a 2D numpy array with the same number of cells as the number of vertices in my Dolfin Mesh. Is there a way to load this numpy array into a Dolfin function so i can then use it as normal? I can't find a logical way to link the cells of the numpy array to the mesh vertices.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Matthew Commin for more information if necessary.
To post a message you must log in.