Extract Function and Mesh of a subdomain
Asked by
Claas Abert
Dear fenics team.
I have a Mesh and a MeshFunction defining some subdomains (I'm using the C++ API):
Mesh mesh("mesh.xml");
MeshFunction<
Then I'm solving some system:
SomeForm:
Function u(V);
solve(A, *u.vector(), b);
What I'd like to do now is to extract a Mesh object of a specific subdomain and get the Function u on this extracted Mesh. Is this possible and if so how would I do that?
Thank you in advance, Claas
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Claas Abert
- Solved:
- Last query:
- Last reply:
To post a message you must log in.