create Function from MeshFunction / CellFunction ?
Asked by
Paul Constantine
Is it possible to create a Function from a MeshFunction or CellFunction? I have a function defined by points in a text file. I can create a CellFunction following the example on page 189 of the FEniCS book. But I want to use this like a Function. Is such a thing possible? Can I go directly from the text file to a Function via something like project()? I couldn't find anything like this in the demos or the examples in the book.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Paul Constantine
- Solved:
- Last query:
- Last reply:
To post a message you must log in.